Header rewrite per destination

2009-08-28 Thread Jures
Hi, I'd like to do a header insert/rewrite on per destination bases. Like if a message is addressed to @foo.com, I'd like to insert an [X-Foo: header-foo] and if it's addressed to @bar.com, I'd insert a [X-Foo: header-bar]. Or rewrite it in case it already exists.. I know about header_checks =

Re: Block messages from *.mydomain.dom

2009-08-28 Thread Yeray Gutiérrez Cedrés
On Fri, Aug 28, 2009 at 3:22 AM, Sahil Tandonsa...@tandon.net wrote: On Thu, 27 Aug 2009, Yeray Gutiérrez Cedrés wrote: On Thu, Aug 27, 2009 at 4:29 AM, Voytek Eymontli...@sbt.net.au wrote: On Wed, August 26, 2009 5:49 am, ghe wrote: I've done this by declaring my own internal domain

Re: Reverse DNS fails with cannot find your hostname when forward IP is wrong

2009-08-28 Thread Ralf Hildebrandt
* Michael Monnerie michael.monne...@is.it-management.at: I just found a good logging example with the nfs server: rpc.mountd: Fake hostname ipmi-p4u.zmi.at for 212.69.162.206 - forward lookup doesn't exist That statement makes it clear, and would be a nice message for postfix also. Didn't

Re: Bounce on the auto fwd mail.

2009-08-28 Thread eric sato
Hope someone can help. *when receiving ... Aug 28 05:39:13 174 postfix/pickup[9638]: E5547F4BE1: uid=650 from=test.jeffreykleinmd Aug 28 05:39:13 174 postfix/cleanup[13001]: E5547F4BE1: message-id=002a01ca27c3$5347f090$f9d7d1...@com Aug 28 05:39:13 174 postfix/local[13006]: 35E49F4B9B:

Re: Bounce on the auto fwd mail.

2009-08-28 Thread Ralf Hildebrandt
* eric sato eric_s...@time.net.my: Hope someone can help. *when receiving ... Aug 28 05:39:13 174 postfix/pickup[9638]: E5547F4BE1: uid=650 from=test.jeffreykleinmd Aug 28 05:39:13 174 postfix/cleanup[13001]: E5547F4BE1: message-id=002a01ca27c3$5347f090$f9d7d1...@com Aug 28 05:39:13 174

Re: Strange behaviour of Postfix + LDAP

2009-08-28 Thread Olivier Nicole
Hi Evgeniy, Check where the rewriting is taking place (http://www.postfix.org/ADDRESS_REWRITING_README.html) Then just add a -v switch to a corresponding daemon in the master.cf (http://www.postfix.org/DEBUG_README.html#verbose) Thank you, now I can write a more documented message. I have

Re: Reverse DNS fails with cannot find your hostname when forward IP is wrong

2009-08-28 Thread Wietse Venema
Michael Monnerie: On Donnerstag 27 August 2009 Wietse Venema wrote: And this was logged when a reverse hostname resolved to the wrong IP address: ? ? Aug 26 00:26:12 spike postfix/smtpd[13393]: warning: 61.135.132.106: address not listed for hostname relay2nd.mail.sohu.com I just

Re: Strange behaviour of Postfix + LDAP

2009-08-28 Thread Victor Duchovni
On Fri, Aug 28, 2009 at 05:10:47PM +0700, Olivier Nicole wrote: -- an example of postmap; I understand that maps first try to find with the full address, then with the left part only. Obviously the search with the left part is successful. $ postmap -q sanjeet.ama...@toto.tutu

Reject by domain/ip combo

2009-08-28 Thread Gary Smith
I have a list of IP/domain combinations that I want to reject. This list is built from spamassassin AWL. I don't necessarily want to block the entire domain if I don't have to, just domain IP combinations. So, running creative queries against AWL, I get a list of domain/IP's. Is there a way

RE: Reject by domain/ip combo

2009-08-28 Thread Gary Smith
I have a list of IP/domain combinations that I want to reject. This list is built from spamassassin AWL. I don't necessarily want to block the entire domain if I don't have to, just domain IP combinations. So, running creative queries against AWL, I get a list of domain/IP's. Is there a

Multiple Ldap Servers

2009-08-28 Thread Michel Bulgado
Hello Using postfix-2.3.3-2.1 + with virtual accounts active directory to make the search for my users. I wonder if it is possible to declare more than one ldap server in postfix, for if it fails then postfix ldap1 continue doing searches on LDAP2. failover? Redundancy? Thanks Michel

Re: Multiple Ldap Servers

2009-08-28 Thread Victor Duchovni
On Fri, Aug 28, 2009 at 10:48:00AM -0400, Michel Bulgado wrote: Using postfix-2.3.3-2.1 + with virtual accounts active directory to make the search for my users. I wonder if it is possible to declare more than one ldap server in postfix, for if it fails then postfix ldap1 continue doing

Re: Multiple Ldap Servers

2009-08-28 Thread Michel Bulgado
On Fri, 2009-08-28 at 10:48 -0400, Michel Bulgado wrote: Hello Using postfix-2.3.3-2.1 + with virtual accounts active directory to make the search for my users. I wonder if it is possible to declare more than one ldap server in postfix, for if it fails then postfix ldap1 continue doing

Re: Multiple Ldap Servers

2009-08-28 Thread Victor Duchovni
On Fri, Aug 28, 2009 at 10:58:56AM -0400, Michel Bulgado wrote: On Fri, 2009-08-28 at 10:48 -0400, Michel Bulgado wrote: Hello Using postfix-2.3.3-2.1 + with virtual accounts active directory to make the search for my users. I wonder if it is possible to declare more than one

Re: Header rewrite per destination

2009-08-28 Thread Sahil Tandon
On Fri, 28 Aug 2009, Jures wrote: I'd like to do a header insert/rewrite on per destination bases. Like if a message is addressed to @foo.com, I'd like to insert an [X-Foo: header-foo] and if it's addressed to @bar.com, I'd insert a [X-Foo: header-bar]. Or rewrite it in case it already

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: Which Postfix restriction generates: Helo command rejected: Domain not found? From the log on albatross.python.org: Aug 21 15:07:07 albatross postfix/smtpd[15378]: NOQUEUE: reject_warning: RCPT from

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: BTW, this log entry in itself proves that the DNS name must resolved back and forth, because otherwise postfix would have logged unknown[76.96.30.96] instead of qmta09.emeryville.ca.mail.comcast.net[76.96.30.96] -- which was also the HELO

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: * Ralf Hildebrandt ralf.hildebra...@charite.de: BTW, this log entry in itself proves that the DNS name must resolved back and forth, because otherwise postfix would have logged unknown[76.96.30.96] instead of

Helo command rejected: Malformed DNS server reply

2009-08-28 Thread Noel Jones
For several years I've been using reject_unknown_helo_hostname as part of a freemail restriction class. I'm using postfix 2.7-20090807 and have seen the note in HISTORY regarding the 20090808 change to NS and MX lookups affecting reject_unknown_helo_hostname Mail from yahoo.com is now

Re: Helo command rejected: Domain not found

2009-08-28 Thread Noel Jones
On 8/28/2009 5:29 PM, Ralf Hildebrandt wrote: * Ralf Hildebrandtralf.hildebra...@charite.de: * Ralf Hildebrandtralf.hildebra...@charite.de: BTW, this log entry in itself proves that the DNS name must resolved back and forth, because otherwise postfix would have logged unknown[76.96.30.96]

Re: Helo command rejected: Domain not found

2009-08-28 Thread Wietse Venema
Ralf Hildebrandt: [ Charset UTF-8 unsupported, converting... ] * Ralf Hildebrandt ralf.hildebra...@charite.de: Which Postfix restriction generates: Helo command rejected: Domain not found? From the log on albatross.python.org: Aug 21 15:07:07 albatross postfix/smtpd[15378]:

Re: Helo command rejected: Domain not found

2009-08-28 Thread Wietse Venema
Wietse Venema: Ralf Hildebrandt: * Ralf Hildebrandt ralf.hildebra...@charite.de: Which Postfix restriction generates: Helo command rejected: Domain not found? From the log on albatross.python.org: Aug 21 15:07:07 albatross postfix/smtpd[15378]: NOQUEUE: reject_warning:

Multiple SMTP Servers (Postfix Cluster)

2009-08-28 Thread Klaus Engelmann
Hello everybody !!! I have the following scenario: I plan to configure three SMTP servers running POSTFIX and I want to point them to one single POP/IMAP server running DOVECOT. I know perfectly how to configure POSTIX and DOVECOT together into one single server. But I need suggestions or tips

Re: Multiple SMTP Servers (Postfix Cluster)

2009-08-28 Thread Sahil Tandon
On Fri, 28 Aug 2009, Klaus Engelmann wrote: I have the following scenario: I plan to configure three SMTP servers running POSTFIX and I want to point them to one single POP/IMAP server running DOVECOT. I know perfectly how to configure POSTIX and DOVECOT together into one single server.