[Esd-l] new procedure for sanitizer and qmail
    Chris 
    csmith at squiz.net
       
    Wed Oct  3 23:27:01 PDT 2001
    
    
  
Hi All,
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.
ORGMAIL=
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
Then, in the /etc/procmail/html-trap.procmail file,
change ALL
$SENDMAIL -U
to
$SENDMAIL
Restart qmail (kill -TERM `pid of qmail-send`; wait for it to disappear; 
/var/qmail/rc &)
And done.
Hope that's useful for some people :)
-----------------
      Chris Smith
http://www.squiz.net/
    
    
More information about the esd-l
mailing list