Postfix relays through wrong IP instead of MX randomly

2015-03-30 Thread Juha Pesonen
Postfix tries to send emails via some IP that I haven't recognised instead of the MX that it should use - message bounces. But it the second time it sends to another address of the same domain, it finds the MX normally and delivers the messages. Is there some temporary DNS problems or why does

Header Filtering

2015-03-30 Thread Randy Saeks
Hello, I have been working to create a pcre-based filter for a header containing a certain hostname string for our postfix system. I've been able to create a header filter that matches correctly based on the sender address to make sure the config file is being picked up and it is. I'm running

Re: Header Filtering

2015-03-30 Thread Paul Hoffman
On Mon, Mar 30, 2015 at 08:12:38AM -0500, Randy Saeks wrote: Hello, I have been working to create a pcre-based filter for a header containing a certain hostname string for our postfix system. I've been able to create a header filter that matches correctly based on the sender address to

Re: Postfix relays through wrong IP instead of MX randomly

2015-03-30 Thread Noel Jones
On 3/30/2015 5:04 AM, Juha Pesonen wrote: Postfix tries to send emails via some IP that I haven't recognised instead of the MX that it should use - message bounces. But it the second time it sends to another address of the same domain, it finds the MX normally and delivers the messages. Does

Mailman Use

2015-03-30 Thread Silvio Siefke
Hello, i try to run mailman with postfix. But it want not really work. When understand the manual i must add the aliases from Mailman and it should work. This i have do but i become 500. siefke # postconf -n alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_maps =

Re: Secondary outbound mail on Postfix

2015-03-30 Thread Wietse Venema
Sedhumadhavan Parthasarathy1: Hi All, Our primary outbound mail is configured in postfix MTA. We would like to set a secondary outbound mail server on DR sitee. With all Postfix versions, you would set relayhost to a name that resolves to multiple IP addresses (in DNS or /etc/hosts). In my

Re: domain not found

2015-03-30 Thread Bill Cole
On 28 Mar 2015, at 3:30, @lbutlr wrote: I am getting some Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again” (also for spamhaus.org, surbl.org, dnsbl.sorbns.net and others). I figure the rbi errors are just load issues or timeout issues,

Re: Mailman Use

2015-03-30 Thread Benny Pedersen
Silvio Siefke skrev den 2015-03-30 13:53: MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'lists.silviosiefke.com [2]' DEFAULT_URL_HOST   = 'lists.silviosiefke.com [2]' DEFAULT_URL_PATTERN = 'https://%s/mailman/' PRIVATE_ARCHIVE_URL = '/mailman/private' add_virtualhost('lists.silviosiefke.com [2]')

Re: Secondary outbound mail on Postfix

2015-03-30 Thread Viktor Dukhovni
On Mon, Mar 30, 2015 at 07:18:52AM -0400, Wietse Venema wrote: Sedhumadhavan Parthasarathy1: Hi All, Our primary outbound mail is configured in postfix MTA. We would like to set a secondary outbound mail server on DR sitee. With all Postfix versions, you would set relayhost to a name

Specific transport for sasl-authenticated mail?

2015-03-30 Thread Albrecht Dreß
Hi all, the subject says it all - it is possible to use a specific transport for sasl-authenticated users, similar to sender_dependent_default_transport_maps, with postfix 2.9? The use case is to transmit all messages from sasl-authenticated senders only to a different machine where they

Re: Mailman Use

2015-03-30 Thread Patrick Ben Koetter
Silvio, * Silvio Siefke siefke_lis...@web.de: i try to run mailman with postfix. But it want not really work. When understand the manual i must add the aliases from Mailman and it should work. This i have do but i become 500. Mar 30 09:12:39 ks3374456 postfix/smtpd[5041]: NOQUEUE: reject:

Re: Secondary outbound mail on Postfix

2015-03-30 Thread Wietse Venema
Sedhumadhavan Parthasarathy1: Hi All, Our primary outbound mail is configured in postfix MTA. We would like to set a secondary outbound mail server on DR sitee. Are you asking - How to configure Postfix to BE the second outbound relay? - How to configure Postfix to USE a second outbound

Re: Add all BCC-recipients to a header for archiving

2015-03-30 Thread A. Schulze
Viktor Dukhovni: The alternative is to use recipient_bcc_maps instead of always_bcc, with a per-recipient archive address that encapsulates the original recipient address. perfect timing: I just was ask to improve a always_bcc setup :-) Thanks to André and Viktor! I now have the following

Re: Specific transport for sasl-authenticated mail?

2015-03-30 Thread Wietse Venema
Albrecht Dre?: Hi all, the subject says it all - it is possible to use a specific transport for sasl-authenticated users, similar to sender_dependent_default_transport_maps, with postfix 2.9? The use case is to transmit all messages from sasl-authenticated senders only to a different

Re: Header Filtering

2015-03-30 Thread Viktor Dukhovni
On Mon, Mar 30, 2015 at 09:40:10AM -0400, Paul Hoffman wrote: Received: from foo.domain /^Received:from foo.domain/ WARN smtp test #spam rule SMTP test Right, this was missing a space after the Received: header name. Try /^Received:\s+from\s+foo\.domain\b/ ... So the above is better,