Matthias Andree([EMAIL PROTECTED])@2001.09.11 13:10:53 +0000:
> 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.
why?
you just have to get ${TCPREMOTEHOST} into dnsip and dnsname, crosscheck
them or refuse ;-) can be done in a script
/k
--
> The life uncaffeinated is not worth living. --Michael Han
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- [EMAIL PROTECTED]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
Please do not remove my address from To: and Cc: fields in mailing lists. 10x
PGP signature