Regrads
Patrick Fischer
Technical Director
DOLPHINS NETWORK SYSTEMS Schmittengasse 3
CH-8112 Otelfingen
http://www.dolphins.ch Tel. : ++41 (0) 1 884 63 41
Fax : ++41 (0) 1 884 63 49
Mail : Patrick...@dolphins.ch
I just noticed that banning domains is a FAQ. I couldn't find an answer how to
redirect mails from banned domains to the local postmaster.
I do banning in ruleset S98 like:
R$* < @$*$=K . > $* $#error $@ 5.7.1 $: "This domain is banned."
R$* < @$*$=K > $* $#error $@ 5.7.1 $: "This domain is banned."
And I define a class K by:
FK /etc/banned.domains
Any help on redirecting these mails from banned domains to the local
postmaster or some other local user would be welcome.
Regards
You could use virtualdomainhandling to achieve what you want.
Virtualdomains let you redirect mail on a domain index basis or even
user@domain basis. What you do is use domain- and mailertable. Get all
info you can get about virtualdomains and apply it.
Regards
//Patrik
d...@akilles.gd.gu.se
> I just noticed that banning domains is a FAQ. I couldn't find an answer
how to
> redirect mails from banned domains to the local postmaster.
> I do banning in ruleset S98 like:
>
> R$* < @$*$=K . > $* $#error $@ 5.7.1 $: "This domain is banned."
> R$* < @$*$=K > $* $#error $@ 5.7.1 $: "This domain is banned."
>
> And I define a class K by:
> FK /etc/banned.domains
Guess what -- this only works on the envelope sender, and that's only
used to determine what address you're supposed to attempt to bounce mail
back to if there's some problem in the future.
This quickly falls to a dictionary-based attack where words are
randomly chosen and stuffed into the envelope sender (which the other end
can presumably completely control).
Back to the drawing board.
--
Brad Knowles, MIME/PGP: br...@his.com
comp.mail.sendmail FAQ Maintainer <http://www.his.com/~brad/>
finger br...@his.com for my PGP Public Keys and Geek Code
The comp.mail.sendmail FAQ is at <http://www.his.com/~brad/sendmail/>