[Dovecot] Filtering IP address connections ?

Jerry dovecot.user at seibercom.net
Mon Oct 18 16:40:50 EEST 2010


On Mon, 18 Oct 2010 14:49:50 +0200
fakessh at 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 at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20101018/ebaae7ba/attachment.bin 


More information about the dovecot mailing list