procmail
[Top] [All Lists]

Re: Procmail Mail Delivery Path

2001-07-05 08:33:08
Jim Scott <jscott(_at_)infoconex(_dot_)com> writes:
Could someone just setup a symbolic link from the old directory to a new
directory on usr/spool/mail?

A symbolic link from /var/spool/mail to /usr/spool/mail would work,
but symbolic links from /var/spool/mail/user to /usr/spool/mail/user
would *not* work.


...
Generally, $ORGMAIL should point to your system mailbox.  The default
value for this is /var/spool/mail/$LOGNAME   If your system mailboxes are
in a different location, then setting this variable will help to fix your
problem.  Check to be sure that $LOGNAME is correctly set in your
environment, then if you have the following in your your ~/.procmailrc
file, it might do what you want:

        ORGMAIL=/usr/spool/mail/$LOGNAME

The value of the $DEFAULT variable is tbe default mailbox file to which
Procmail delivers.  It defaults to the value of the $ORGMAIL variable, so
setting $ORGMAIL should fix the problem, assuming that your system
mailboxes are in fact in a different location.

As I've said before, THIS DOES NOT WORK COMPLETELY.  Procmail checks
the permissions of the mailspool using the compiled in location *before*
it reads the /etc/procmailrc or $HOME/.procmailrc file.


Philip Guenther
_______________________________________________
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>