On Wed, Jul 12, 2006 at 10:32:58PM -0400, Moises Castellanos wrote: > I'm using authpam the symlink works fine. But I'm wondering if exist > in other alternative like a variable to specify the maildir, something > like $LOGNAME
No. authpam gets its information from the system password file, and that has only one field where HOME is stored. There is nowhere to store a MAILDIR setting per user. authpam also doesn't have a mechanism to fake up a maildir algorithmically, e.g. MAILDIR=/var/mail/$LOGNAME/Maildir I'd say that would be a bad idea, because you lose flexibility. For example, when /var/mail is full, and you mount another disk on /var/mail2, then you have no way of selecting which mailboxes are on one and which are on the other (apart from symlinks, which is what I said to use in the first place) However, if you really want to do this algorithmic mapping, you could make a small modification to authpam to set MAILDIR to whatever you choose. Or you can even do it without modifying courier source, by writing an authpipe module which duplicates the functionality of authpam, but also sets MAILDIR to whatever you like. 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
