[Esd-l] new procedure for sanitizer and qmail
csmith at squiz.net
Wed Oct 3 23:27:01 PDT 2001
The procedure to run the sanitizer with qmail is slightly different to what
I said before.
Edit the /var/qmail/rc file, change it to :
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline /usr/bin/procmail' splogger qmail
(of course, change the procmail path appropriately).
If you're using Maildirs, add these lines in the /etc/procmailrc file right
at the top before the INCLUDE=/etc/procmail/html-trap.procmail.
If you're not using Maildirs, don't worry about this step.
Then, in the /etc/procmail/html-trap.procmail file,
Restart qmail (kill -TERM `pid of qmail-send`; wait for it to disappear;
Hope that's useful for some people :)
More information about the esd-l