tomclegg.net |
qmail-badmailfrom-wildcard patch Posted April 27, 2003 If (like me) you're getting lots of
unreturnable spam from addresses like
" Without this patch, you would have to list
" To install: cd /src/qmail-1.03 fetch http://tomclegg.net/software/patch-qmail -badmailfrom-wildcard patch < qmail-badmailfrom-wildcard.patch make qmail-smtpd install -m 755 qmail-smtpd /var/qmail/bin/qmail-smtpd To refuse mail from any sender which ends with
" echo ".example.com" >>/var/qmail/control/badmailfrom You will still accept mail from foo@example.com unless you add
" echo "@example.com" >>/var/qmail/control/badmailfrom The wildcard does not apply to the sender's local part.
" |