On Mon, 18 Oct 2010 14:49:50 +0200 fakessh@fakessh.eu articulated:
Le 18.10.2010 14:32, Leonardo Rodrigues a écrit :
why not make things easier and use your OS packet filter for
that ? iptables for linux, for example
Em 18/10/2010 10:22, Frank Bonnet escreveu:
Hello
Is it possible to refuse connections from some IP address in Dovecot configuration ?
with sieve is also possible: I give an example
require ["fileinto","regex","comparator-i;ascii-numeric","reject","relational"];
if anyof ( header :contains "Received" [ "[4.63.*.*", ] { reject text: I am not taking mail from you, and I don't want your birdseed, either! it is UBE UCE no talking to me please! see you letter ? . ; }
Perhaps I am confused, but why are you doing this at the LDA level? You cannot legitimately bounce mail from there without becoming a source of backscatter. Why not filter these messages at the MTA level. Postfix, as one example, has ways of accomplishing just this sort of behavior.
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.