Strange ispman.createMailbox troubles with Courier IMAP

"Marco Carcano" <mcarcano-IvpIpsuCVxdWk0Htik3J/[email protected]> Tue, 13 Jun 2006 13:11:21 +0200
Newsgroups gmane.comp.isp.ispman.user
Message-ID <000f01c68eda$1a3bcfe0$0400000a@pc01>
This is a multi-part message in MIME format.

--===============0596384614==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000C_01C68EEA.DD81CA80"

This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C68EEA.DD81CA80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, I'm facing some problems with courier-imap (4.1.1):
The strange fact is that I have a working environment (done one years =
ago) with ispman, courier imap and sqwebmail.
I basically did a sort of (cut and paste) of my configuration files, but =
it ended here:

I'm sure there are not autentication errors (ldap log file does not =
report=20
authentication failures).
there are a few strange things:

authldaprc file:
....
LDAP_UID uidNumber
LDAP_GID gidNumber
....
if I don't set
LDAP_GLOB_UID and LDAP_GLOB_GID, ldap authentication (as cyrus, the =
admin=20
user used by ispman.createMailBox) works fine, but I got an error
from imapd that says that users with uid=3D0 or gid=3D0 are not allowed. =
Really=20
strange: I have a system configured one year ago with ISPMAN and Courier =
and=20
I haven't had to setup these variables. It seems to me that ?SOMETHING =
IS=20
CHANGED IN COURIER?
uid and gid stored in uidNumber and gidNumber attributes. These =
attributes=20
are only in domain users, not in admins. But it seems that Courier now =
WANTS=20
these attributes.
So I tried to set the above variables:

LDAP_GLOB_UID nobody
LDAP_GLOB_GID nobody

Now is OK: courier-auth let me pass to imap service. But again, it seems =

there is something strange:
I got this message in maillog:
imapd: cyrus: chdir() failed!!
imapd: error: no such file or directory
imapd: LOGIN FAILED, user=3Dcyrus, ip=3D...
imapd: authentication error: No such file or directory

it seems that courier-imap need to chdir to some path (maybe cyrus =
home).=20
But as cyrus is an admin, does not have a homeDirectory attribute =
(unlike=20
domain users); again, in authldaprc file there is a warning: =
homeDirectory=20
attribute MUST exist.

OK, it must exist for retreiving and delivering mail for domain users, =
but=20
why it seems it is needed also for normal login operation as done by=20
ispman.createMailBox

I'm terribly confused, may someone help me, please?

thanks=20

------=_NextPart_000_000C_01C68EEA.DD81CA80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>Hi, I'm facing=20
some problems with courier-imap (4.1.1):</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>The strange=20
fact is that&nbsp;I have a working environment (done one years ago) with =
ispman,=20
courier imap and sqwebmail.</FONT></FONT></DIV>
<DIV>I basically did a sort of (cut and paste) of my configuration =
files, but it=20
ended here:</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3><BR>I'm sure=20
there are not autentication errors (ldap log file does not report=20
<BR>authentication failures).<BR>there are a few strange=20
things:<BR><BR>authldaprc file:<BR>....<BR>LDAP_UID =
uidNumber<BR>LDAP_GID=20
gidNumber<BR>....<BR>if I don't set<BR>LDAP_GLOB_UID and LDAP_GLOB_GID, =
ldap=20
authentication (as cyrus, the admin <BR>user used by =
ispman.createMailBox) works=20
fine, but I got an error<BR>from imapd that says that users with uid=3D0 =
or gid=3D0=20
are not allowed. Really <BR>strange: I have a system configured one year =
ago=20
with ISPMAN and Courier and <BR>I haven't had to setup these variables. =
It seems=20
to me that ?SOMETHING IS <BR>CHANGED IN COURIER?<BR>uid and gid stored =
in=20
uidNumber and gidNumber attributes. These attributes <BR>are only in =
domain=20
users, not in admins. But it seems that Courier now WANTS <BR>these=20
attributes.<BR>So I tried to set the above =
variables:<BR><BR>LDAP_GLOB_UID=20
nobody<BR>LDAP_GLOB_GID nobody<BR><BR>Now is OK: courier-auth let me =
pass to=20
imap service. But again, it seems <BR>there is something strange:<BR>I =
got this=20
message in maillog:<BR>imapd: cyrus: chdir() failed!!<BR>imapd: error: =
no such=20
file or directory<BR>imapd: LOGIN FAILED, user=3Dcyrus, =
ip=3D...<BR>imapd:=20
authentication error: No such file or directory<BR><BR>it seems that=20
courier-imap need to chdir to some path (maybe cyrus home). <BR>But as =
cyrus is=20
an admin, does not have a homeDirectory attribute (unlike <BR>domain =
users);=20
again, in authldaprc file there is a warning: homeDirectory =
<BR>attribute MUST=20
exist.<BR><BR>OK, it must exist for retreiving and delivering mail for =
domain=20
users, but <BR>why it seems it is needed also for normal login operation =
as done=20
by <BR>ispman.createMailBox<BR><BR>I'm terribly confused, may someone =
help me,=20
please?<BR><BR>thanks </FONT><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_000C_01C68EEA.DD81CA80--



--===============0596384614==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0596384614==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ispman-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ispman-users

--===============0596384614==--