Re: Virtual reject reason

2010-01-09 Thread /dev/rob0
On Fri, Jan 08, 2010 at 02:33:37PM -0500, Christopher Hackman wrote: > Is it possible to customize the following error message? > > MAIL FROM: > 250 2.1.0 Ok > RCPT TO: > 550 5.1.1 : Recipient address > rejected: virtualdomain.com > > In this sanitized example, "virtualdomain.com" is just that

Re: Confusing sasl configuration examples

2010-01-09 Thread /dev/rob0
Bonjour mouss, On Fri, Jan 08, 2010 at 09:53:42PM +0100, mouss wrote: > /dev/rob0 a écrit : > > On Fri, Jan 08, 2010 at 10:23:38AM -0500, Wietse Venema wrote: > >> /dev/rob0: > >> The purpose of the submission service is to accept mail only from > >> authenticated clients. > > > > This, I underst

Sender based relay server

2010-01-09 Thread Jack Knowlton
Hi all. Our internal postfix server relays all outbound mail thru an external host. How can I set it to use a different relay server when the email comes from a specified domain? Eg. j...@domain1.com -> xxx.xxx.xxx.xxx (default), m...@domain2.com -> yyy.yyy.yyy.yyy Thanks. -JK

Re: Sender based relay server

2010-01-09 Thread Wietse Venema
Jack Knowlton: > Hi all. > Our internal postfix server relays all outbound mail thru an external host. > How can I set it to use a different relay server when the email comes from > a specified domain? Eg. j...@domain1.com -> xxx.xxx.xxx.xxx (default), > m...@domain2.com -> yyy.yyy.yyy.yyy Postfix

Re: Sender based relay server

2010-01-09 Thread Stan Hoeppner
Jack Knowlton put forth on 1/9/2010 9:57 AM: > Hi all. > Our internal postfix server relays all outbound mail thru an external host. > How can I set it to use a different relay server when the email comes from > a specified domain? Eg. j...@domain1.com -> xxx.xxx.xxx.xxx (default), > m...@domain2.c

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Patrick Chemla
Hi, I will try all your advises, but something still very strange for me: We see that postfix logs show that ehlo process is very slow through postfix but very fast by hand. Even I have recorded through tcpdump/WireShark and I can see that messages are sent very very very quickly in about 1 s

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Patrick Chemla
Hi all, I got these statistics: Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: start interval Jan 9 19:09:03 Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: domain lookup hits=110 miss=89 success=55% Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: address lo

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Stan Hoeppner
Patrick Chemla put forth on 1/9/2010 11:17 AM: > Hi all, > > I got these statistics: > > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: start > interval Jan 9 19:09:03 > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: domain lookup > hits=110 miss=89 success=55% > Jan 9 1

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Patrick Chemla
Hi Stan, Thanks for your interest. Le 09/01/2010 20:21, Stan Hoeppner a écrit : Patrick Chemla put forth on 1/9/2010 11:17 AM: Hi all, I got these statistics: Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: start interval Jan 9 19:09:03 Jan 9 19:15:21 postfix postfix/scache[

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Stan Hoeppner
Patrick Chemla put forth on 1/9/2010 11:07 AM: > Hi, > > I will try all your advises, but something still very strange for me: > > We see that postfix logs show that ehlo process is very slow through > postfix but very fast by hand. Even I have recorded through > tcpdump/WireShark and I can see t

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Stan Hoeppner
Patrick Chemla put forth on 1/9/2010 12:37 PM: > I wen t there but did not find explanations about miss address lookup or > miss domain lookup. > While I have 122,000 messages in active queue I still don't understand > why statistics show max simultaneous domains=1. It should be dozens , or > hund

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Patrick Chemla
Le 09/01/2010 20:54, Stan Hoeppner a écrit : Patrick Chemla put forth on 1/9/2010 12:37 PM: I wen t there but did not find explanations about miss address lookup or miss domain lookup. While I have 122,000 messages in active queue I still don't understand why statistics show max simultaneou

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Stan Hoeppner
Patrick Chemla put forth on 1/9/2010 1:08 PM: > You mean 100% success? Yes. > Before I set up the postfix relay to load balance between 30 qmail > servers, each of them was able to accept in his own queue hundreds > thousands email. Email were sent by campaigns of thousands balanced on 3 > qmail

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Wietse Venema
Patrick Chemla: > Hi all, > > I got these statistics: > > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: start > interval Jan 9 19:09:03 > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: domain lookup > hits=110 miss=89 success=55% > Jan 9 19:15:21 postfix postfix/scach

Re: Huge active queue and system idle, not delivering

2010-01-09 Thread Wietse Venema
Wietse Venema: > Patrick Chemla: > > Hi all, > > > > I got these statistics: > > > > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: start > > interval Jan 9 19:09:03 > > Jan 9 19:15:21 postfix postfix/scache[18038]: statistics: domain lookup > > hits=110 miss=89 success=55% > > Ja

how are sysexit.h statues interpreted

2010-01-09 Thread Christoph Anton Mitterer
Hi. Is there somewhere some documentation how each of the exit codes from sysexit.h is interpreted by Postfix when used with pipe(8) (returned e.g. by maildrop)? I just now the EX_TEMPFAIL means that mail is defered, and I assume EX_UNAVAILABLE leads to a bounce. What about the others?

Re: how are sysexit.h statues interpreted

2010-01-09 Thread Wietse Venema
Christoph Anton Mitterer: > Hi. > > Is there somewhere some documentation how each of the exit codes from > sysexit.h is interpreted by Postfix when used with pipe(8) (returned > e.g. by maildrop)? I naively assume that the sysexits.h names speak for themselves. > I just now the EX_TEMPFAIL

Re: how are sysexit.h statues interpreted

2010-01-09 Thread Christoph Anton Mitterer
On Sat, 2010-01-09 at 19:58 -0500, Wietse Venema wrote: > EX_TEMPFAIL defers mail, as does EX_OSERR (system resource not > available). All others are hard coded as non-retryable. Thanks. > Making this > configurable is a couple hours of work (design a user interface, > implement the code, test th

Re: how are sysexit.h statues interpreted

2010-01-09 Thread Wietse Venema
Christoph Anton Mitterer: > On Sat, 2010-01-09 at 19:58 -0500, Wietse Venema wrote: > > EX_TEMPFAIL defers mail, as does EX_OSERR (system resource not > > available). All others are hard coded as non-retryable. > Thanks. > > > Making this > > configurable is a couple hours of work (design a user i