OK folks
I'll let the firewall do the job !
Thanks
On 10/18/2010 03:40 PM, Jerry wrote:
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.