procmail
[Top] [All Lists]

Re: Configure procmail

2000-12-20 22:16:07
"Ing.Osvaldo Alvarez Pozo" <pozo(_at_)minsap(_dot_)pri(_dot_)sld(_dot_)cu> 
writes:
Hy everybody
I put a /etc/procmailrc on my system tu make procmail writting to
/usr/spool/mail/$LOGNAME instedd of writting to
/var/spool/mail/$LOGNAME but I have this problem,

I'm surprised: on most systems that even _have_ a /usr/spool/mail, it's
a symbolic link to /var/spool/mail.  Why are you moving the mailspool
back under the directory when most software written in the last 10
years prefers /var/spool/mail to /usr/spool/mail?  It may be easier to
fix whatever application you have looking is /usr/spool/mail or to just
install the aforementioned symlink.

...
this is my /etc/procmail:

LOCKFILE=/usr/spool/mail/$LOGNAME.lock
LOGFILE=/var/log/procmailrc.log
:0
/usr/spool/mail/$LOGNAME

I just want procmail to deliver to /usr/spool/mail/, \xBFany suggestion?


Go into the procmail source tree.  Type "make autoconf.h", then edit
the generated autoconf.h file and change the line

#define MAILSPOOLDIR "/var/spool/mail"

to

#define MAILSPOOLDIR "/usr/spool/mail"

Then type "make", install the resulting binaries, and then remove that
/etc/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>