Hello, After many unsuccessful hours, I have resorted to this list in the hope of finding an answer to this question:
How to change the courier-imap MAILDIR env variable from the default $HOME/Maildir to '/var/spool/mail/$USERNAME/Maildir' (for example), when courier-imap is using the authpam authentication module? The manual [1] hints that a MAILDIR environment variable can be set: "3. Some additional environment variables may also be initialized: AUTHFULLNAME - the login ID's full name; MAILDIR - the login ID's default maildir mailbox; MAILDIRQUOTA - the requested maildir quota." However it is unclear (to me) how this can be accomplished when authenticating using authpam. Documentation examples I could find seem to centre on other authentication modules. The discussion here [2] suggests editing the imapd startup script, while here [3] the suggestions point to trying to set the MAILDIR environment variable using pam_env. As with the people in these posts, I have also not had much success using these suggestions. Symbolic linking $HOME/Maildir is not an option, and I cannot switch to use a different authentication module. Any suggestions or ideas on setting this MAILDIR environment variable for authpam authentication are very welcome! Cheers, Keith Nelson. [1] http://www.courier-mta.org/authlib.html [2] http://www.mail-archive.com/[EMAIL PROTECTED]/msg09986.html [3] http://www.mail-archive.com/[EMAIL PROTECTED]/msg14029.html __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
