I looked into this and tried using '${exec_prefix}/bin/imapd /var/mail' and it didn't work out right. I assume that $LOGNAME is intended to be the login name?
<EOL> Tib On Wed, 19 Jun 2002, Mogens Valentin wrote: > 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 :- > > ---------------------------------------------------------------------------- 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