Tib wrote:
> 
> I need courier imap to look for mail at the /var/mail/USERNAME level
> rather than in Maildir style. How do I do this? I've tried looking through
> the documentation and found references to the fact that it can, but never
> how to do it. Thanks in advance.


In the /etc/rc.d/init.d/imapd startup script, you can change the Maildir
location to something else.
Look for a line like:

  ${exec_prefix}/bin/imapd Maildir"

I experimented some with maildir locations, and changed it into:

  ${exec_prefix}/bin/imapd $MAILDIR"

Somewhere in the beginning of the script, I define the maildir location:

MAILDIR="Maildir"
#MAILDIR="/var/spool/imap/monz/Maildir"
#MAILDIR="/var/spool/imap/$LOGNAME/Maildir"

Don't remember if the $LOGNAME actually worked :-

-- 
Kind regards / venlig hilsen,
Mogens Valentin, Mr Dev

IT Networking, Security, Server Setup
http://www.mrdev.com  [EMAIL PROTECTED]
Phone +45 32 525 878  Cell 51 227 668

----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to