On Tue, Aug 08, 2006 at 08:03:09PM -0400, Roberto C. Sanchez wrote:
> Aug 7 19:30:37 arecibo authdaemond.pgsql: dopam successful
> Aug 7 19:30:37 arecibo authdaemond.pgsql: authpam: ACCEPT, username
> roberto
> Aug 7 19:30:37 arecibo imaplogin: chdir Maildir: No such file or
> directory
>
> Now, in this case, roberto is my username and have a real account on the
> system, not a virtual account. So, the authpgsql attempt fails and it
> falls back to authpam. It clearly finds me and authenticates me. The
> problem, of course is that it can't find my maildir. Now,
> /home/roberto/.Maildir/ exists and is a proper maildir with mail in it.
As you can see, it's looking for 'Maildir' not '.Maildir'
> I have also set MAILDIRPATH to .Maildir in /etc/courier/{imapd,pop3d}
> and the ssl variants. I am somewhat baffled by this. Any pointers
> would be appreciated.
Hmm. Check your startup scripts. They should substitute the value of
$MAILDIRPATH into the command line. See if this is happening (by inspection,
and/or putting 'set -x' at the top of the script)
You could also try MAILDIRPATH=./.Maildir
Show also the output of 'authtest roberto'. This should show no entry for
Maildir, which means the default will be used. If it says 'Maildir' then
this will override the value set in MAILDIRPATH, but I don't think authpam
does this.
Regards,
Brian.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap