Can check_policy_service override sender_dependent_relayhost_maps

2015-01-20 Thread Chris Robinson
I use Amazon SES service as a relay. I control which sasl clients send through amazon with: main.cf: sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay_host A typical entry is: @example.com email-smtp.eu-west-1.amazonaws.com:25 master.cf: smtp inet n - - -

Temporarily block all messages from a particular IP

2015-01-20 Thread Rosenbaum, Larry M.
What would be the best method for (temporarily) blocking all mail from a particular (internal) IP? Or alternatively, blocking all mail with a particular "MAIL FROM" address? For instance, blocking all mail from 1.2.3.4, or alternatively, from bro...@badhost.example.com

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread li...@rhsoft.net
Am 20.01.2015 um 17:49 schrieb Rosenbaum, Larry M.: What would be the best method for (temporarily) blocking all mail from a particular (internal) IP? Or alternatively, blocking all mail with a particular “MAIL FROM” address? For instance, blocking all mail from 1.2.3.4, or alternatively, from

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread Mauricio Tavares
On Tue, Jan 20, 2015 at 12:11 PM, li...@rhsoft.net wrote: > > Am 20.01.2015 um 17:49 schrieb Rosenbaum, Larry M.: >> >> What would be the best method for (temporarily) blocking all mail from a >> particular (internal) IP? Or alternatively, blocking all mail with a >> particular “MAIL FROM” address

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread Noel Jones
On 1/20/2015 10:49 AM, Rosenbaum, Larry M. wrote: > What would be the best method for (temporarily) blocking all mail > from a particular (internal) IP? Or alternatively, blocking all mail > with a particular “MAIL FROM” address? > > > > For instance, blocking all mail from 1.2.3.4, or alternat

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread L. Mark Stone
- Original Message - | What would be the best method for (temporarily) blocking all mail from a | particular (internal) IP? Or alternatively, blocking all mail with a | particular “MAIL FROM” address? | For instance, blocking all mail from 1.2.3.4, or alternatively, from | bro...@badhost.

RE: Temporarily block all messages from a particular IP

2015-01-20 Thread Rosenbaum, Larry M.
Thanks! > -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Noel Jones > Sent: Tuesday, January 20, 2015 12:15 PM > To: postfix-users@postfix.org > Subject: Re: Temporarily block all messages from a particular IP > > On 1/2

Re: Can check_policy_service override sender_dependent_relayhost_maps

2015-01-20 Thread Wietse Venema
To answer the question: man 5 postconf sender_dependent_relayhost_maps (default: empty) ... This information is overruled with relay_transport, sender_dependent_default_transport_maps, default_transport and with the transport(5) table. So that is no good. But there is a solution:

Re: emporarily block all messages from a particular IP

2015-01-20 Thread Nicolas KOWALSKI
On Tue, Jan 20, 2015 at 11:15:01AM -0600, Noel Jones wrote: > # main.cf > smtpd_client_restrictions = > check_client_access hash:/etc/postfix/client_blacklist > check_sender_access hash:/etc/postfix/sender_blacklist > ... any other restrictions ... > > > # client_blacklist > # list IP or cl

Re: Can check_policy_service override sender_dependent_relayhost_maps

2015-01-20 Thread Chris Robinson
On 20/01/2015 19:48, Wietse Venema wrote: To answer the question: man 5 postconf sender_dependent_relayhost_maps (default: empty) ... This information is overruled with relay_transport, sender_dependent_default_transport_maps, default_transport and with the transport(5) tabl

Re: Can check_policy_service override sender_dependent_relayhost_maps

2015-01-20 Thread Noel Jones
On 1/20/2015 2:08 PM, Chris Robinson wrote: > > On 20/01/2015 19:48, Wietse Venema wrote: >> To answer the question: >> >> man 5 postconf >> sender_dependent_relayhost_maps (default: empty) >> ... >> This information is overruled with relay_transport, >> sender_dependent_default_tra

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread Ansgar Wiechers
On 2015-01-20 li...@rhsoft.net wrote: > > Am 20.01.2015 um 17:49 schrieb Rosenbaum, Larry M.: >> What would be the best method for (temporarily) blocking all mail from a >> particular (internal) IP? Or alternatively, blocking all mail with a >> particular “MAIL FROM” address? >> >> For instance,

Re: Temporarily block all messages from a particular IP

2015-01-20 Thread li...@rhsoft.net
Am 20.01.2015 um 23:18 schrieb Ansgar Wiechers: On 2015-01-20 li...@rhsoft.net wrote: Am 20.01.2015 um 17:49 schrieb Rosenbaum, Larry M.: What would be the best method for (temporarily) blocking all mail from a particular (internal) IP? Or alternatively, blocking all mail with a particular “M

type=MX: Host not found, try again

2015-01-20 Thread rupesh chandurkar
Hi All I have issue with deferred mail for the domain doesn't have point MX record. I am set maximal_queue_lifetime = 18h. When queue life time expire all mail's are bounce back to the sender.I want to this mail bounce back to the sender in first attempt.I don't want build queue on server of su

Re: type=MX: Host not found, try again

2015-01-20 Thread li...@rhsoft.net
Am 21.01.2015 um 04:20 schrieb rupesh chandurkar: I have issue with deferred mail for the domain doesn't have point MX record. I am set maximal_queue_lifetime = 18h. When queue life time expire all mail's are bounce back to the sender.I want to this mail bounce back to the sender in first attemp

Re: type=MX: Host not found, try again

2015-01-20 Thread Benny Pedersen
rupesh chandurkar skrev den 2015-01-21 04:20: 71CB7902518 30864 Tue Jan 20 15:01:29 bou...@go4quid.co.uk (Host or domain name not found. Name service error for name=goolglemail.com type=MX: Host not found, try again)bertn...@goolglemail.com dig +trace goolglemail.com really goolglemail ? w

Re: type=MX: Host not found, try again

2015-01-20 Thread Viktor Dukhovni
On Wed, Jan 21, 2015 at 05:26:24AM +0100, Benny Pedersen wrote: > rupesh chandurkar skrev den 2015-01-21 04:20: > > > 71CB7902518 30864 Tue Jan 20 15:01:29 bou...@go4quid.co.uk > > (Host or domain name not found. Name service error for > >name=goolglemail.com type=MX: Host not found, try > >again