[SWLUG] QMail recipient check

Foeh Mannay swlug at wormtail.co.uk
Tue Sep 5 17:44:36 UTC 2006


Hi,

I'm being plagued by bounced bounces at the moment. Some spammer guessed 
one of the aliases I use for mail on my domain, so I deleted the alias 
but now I keep getting messages from qmail saying it tried to send a 
bounce for something arriving on the deleted adress (100% spam) but the 
bounce bounced.

What I would like to do is to have qmail send a 550 as soon as the RCPT 
TO: comes in, rather than accepting the mail and trying to bounce it. 
There are tens of patches for qmail that seem to do a million and one 
different things, far more than I want to do, which is this:

If a mail relay tries to send mail to [junk address at mydomain.co.uk], 
reject it during the SMTP conversation.

Can anyone recommend a patch that will allow me to do that without much 
hassle? I don't want any more functionality than that - no spam 
filtering, no rDNS checks, nothing clever! I would write a perl wrapper 
for it but I'm concerned I'd somehow open my system up for compromise!

Thanks,

Foeh



More information about the Swlug mailing list