procmail
[Top] [All Lists]

Re: /var/mail

1996-09-01 09:11:04
Hi Frederic Janssens,

my mail, on a Sun, is spooled in /var/mail
procmail processes it but keeps complaining about files in the nonexistant
/usr/spool/mail.
What is the proper way to tell procmail to use /var/mail instead of 
/usr/spool/mail ?

Insert a 

ORGMAIL= /var/mail/$LOGNAME

in your .procmailrc.

Taken from procmailrc.1

       ORGMAIL               /var/spool/mail/$LOGNAME
                             (Unless -m has been specified, in which case it is 
unset)


       ORGMAIL     Usually  the  system  mailbox  (ORiGinal  MAILbox).  If, for 
some obscure reason
                   (like `filesystem full') the mail could not be delivered, 
then this mailbox will
                   be  the  last  resort.   If  procmail fails to save the mail 
in here (deep, deep
                   trouble :-), then the mail will bounce back to the sender.


Hope this helps

regards

Martin

-- 
Martin Koch       nick(_at_)caissa(_dot_)owl(_dot_)de   +49-5251-59670 voice    
         
Padertown City    Test the Nest        http://fiction.pb.owl.de/~nick
PGP (1024/E5A20C75) = 90 72 76 9F 5C DA A6 4F  2B 28 07 84 03 11 3C 27
PGP Key available on request

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