procmail
[Top] [All Lists]

Re: Moving user mail spools

2002-06-19 11:39:18
At 12:43 PM -0500 6/19/02, Philip Guenther wrote:
Justin Shore <listuser(_at_)neo(_dot_)pittstate(_dot_)edu> writes:
How do I tell my LDA that user mail spools are now in, say,
/var/mail/spool/ instead of /var/spool/mail/?  I know I've seen it
before but I forget where.  I thought it was an entry in my system
procmailrc.  I found the QUEUE_DIR option for Sendmail.  I just can't
seem to find the one for my LDA.  FYI, I'm moving all mail-related
directories to /var/mail (mqueue, poptemp, quarentine, etc..) which
is a RAID volume in my new installation.

The /etc/procmailrc file is parsed _after_ procmail 'screens' the user's
mailspool for existence, ownership, and permissions.  Ergo, the contents
of the /etc/procmailrc file cannot affect the path that procmail performs
these checks on.  At present, you need to recompile procmail with the
new spool location.  The simplest way is probably to put the following
lines at the top of the config.h file:

#undef MAILSPOOLDIR
#define MAILSPOOLDIR "/var/mail/spool/"

then recompile and reinstall.

Ah, that sounds familar. See I did this once on a server I set up about a year ago. I hadn't thought about recompiling procmail though. I'll do that. Thanks!

Justin
--

--
Justin Shore, ES-SS ES-SSR      Pittsburg State University
Network & Systems Manager       Kelce 157Q
Office of Information Systems   Pittsburg, KS 66762
Voice: (620) 235-4606           Fax: (620) 235-4545
http://www.pittstate.edu/ois/

Warning:  This message has been quadruple Rot13'ed for your protection.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>