On 11/08/2011 10:16 AM, Ralf Hildebrandt wrote:
* Frank Bonnet<f.bon...@esiee.fr>:
On 11/08/2011 09:47 AM, Ralf Hildebrandt wrote:
* Frank Bonnet<f.bon...@esiee.fr>:
Hello

I would like to reject or discard outgoing emails to some particuliar
addresses
I'm a bit confuse on what to use the more efficiently.
I would DISCARD it.

Yes I too but I am confuse on WHICH Postfix functionnality
to do so ? I would like to use a map because there are
several addresses.
It's all map driven in Postfix, isn't it? :)

OK I found the solution :-)

smtpd_recipient_restrictions =
hash:/usr/local/etc/postfix/banned, ( add this map , it seems to work :-) )
   reject_unauth_pipelining,
   permit_mynetworks,
   reject_unauth_destination,
   reject_unlisted_recipient,
   permit


in the map

the.addr...@to.ban  DISCARD




Reply via email to