On Tue, 11 Sep 2001, Russell Nelson wrote:

> Matthias Andree writes:
>  > Any chance to list them in badmailfrom instead?
> 
> No.  They use addresses which have no hostname, and they use a unique
> identifier (e.g. bounce-324353).  You know, just like spammers do so
> you can't block them either.  Hmmm....  Maybe the best way to block
> them is to set envnoathost to devnull.crynwr.com, and then put that
> hostname into virtualdomains and map it to a .qmail file containing
> solely '#'.

"|exit 0" ;-)

That's one way to do it, but you still take the mail in. PCRE or regexp
support in qmail-smtpd (badmailfrom or similar) would be useful, as
would support for an environment variable "REFUSENONFQDN", that way, you
could tell your smtpd to eat local mail with unqualified from and have
it reject remote mail with unqualified from before taking it in.

That's the place where qmail lacks modularity.



I have similar features in my Postfixen and they slam rejected sites (be
they misconfigured or malicious) their crap right back in their face
(5XY reject code). Have the other site create the bounce, don't waste
your own bandwidth. Very useful.

Reply via email to