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 Tandon wrote: > On Thu, 27 Aug 2009, Yeray Gutiérrez Cedrés wrote: > >> On Thu, Aug 27, 2009 at 4:29 AM, Voytek Eymont wrote: >> > >> > On Wed, August 26, 2009 5:49 am, ghe wrote: >> > >> >> I've done this by declaring my own internal domain names: slsware.dmz

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

2009-08-28 Thread Ralf Hildebrandt
* Michael Monnerie : > 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 Wietse write that code? -- Ra

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= 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: to=, orig_to=, relay=lo

Re: Bounce on the auto fwd mail.

2009-08-28 Thread Ralf Hildebrandt
* eric sato : > Hope someone can help. > > *when receiving ... > Aug 28 05:39:13 174 postfix/pickup[9638]: E5547F4BE1: uid=650 > from= > 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: 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 hav

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

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 ldap

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 the

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 doin

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

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

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 exi

Re: Bounce on the auto fwd mail.

2009-08-28 Thread mouss
eric sato a écrit : > [snip] > Aug 28 05:39:20 174 postfix/smtp[13024]: E5547F4BE1: > to=, > relay=cuda2.time.net.my[203.121.65.119]:25, delay=6.9, > delays=0.05/0.01/6.6/0.31, dsn=5.0.0, status=bounced (host > cuda2.time.net.my[203.121.65.119] said: 504 Need Fully Qualified Address > (in reply to

Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
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 qmta09.emeryville.ca.mail.comcast.net[76.96.30.96]: 554 5.0.0 : Helo command rejected: Domain

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > 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 qmta09.emeryville.ca.mail.comcast.net[76.96.30.96]: 554 5.0

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > 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 hostname! mail_version =

Re: Helo command rejected: Domain not found

2009-08-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Ralf Hildebrandt : > > > 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

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 reje

Re: Helo command rejected: Domain not found

2009-08-28 Thread Noel Jones
On 8/28/2009 5:29 PM, Ralf Hildebrandt wrote: * Ralf Hildebrandt: * Ralf Hildebrandt: 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.3

Re: Helo command rejected: Domain not found

2009-08-28 Thread Wietse Venema
Ralf Hildebrandt: [ Charset UTF-8 unsupported, converting... ] > * Ralf Hildebrandt : > > 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_warn

Re: Helo command rejected: Domain not found

2009-08-28 Thread Wietse Venema
Wietse Venema: > Ralf Hildebrandt: > > * Ralf Hildebrandt : > > > 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: > > > RC

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 on

Re: Multiple Ldap Servers

2009-08-28 Thread michel
Victor Duchovni ha escrito: 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 t

Postfix stable release 2.6.5, 2.5.9, 2.4.13 and 2.3.19

2009-08-28 Thread Wietse Venema
The stable release Postfix 2.6.5 addresses the defects described below (some already addressed with the not-announced Postfix 2.6.3 release). These defects are also addressed in the legacy releases that are still maintained: Postfix 2.5.9, 2.4.13 and 2.3.19. Do not use Postfix 2.6.4, 2.5.8, 2.4.

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 serve