I am can recieve errors displayed on the console from qmail-smtpd that look like
 
 qmail-smtpd: pid 29533 from 207.69.200.246 Invalid SENDER address: MAIL from: <[EMAIL PROTECTED]@pop.mindspring.com>, RCPT To:<[EMAIL PROTECTED]>
 
I would like to log all of that information to a file.
This is what I put in my qmail startup script. But the information is still printed to the console. Is there way to make qmail-smtpd write to a log file?
 
 
env - PATH="/var/qmail/bin:/usr/local/bin" \
        tcpserver -H -R -c100 -u503 -g501 0 smtp \
        /var/qmail/bin/qmail-smtpd 2> $1 > /var/log/qmail/smtpd.log

Reply via email to