Rate limit outgoing mail by relay IP (not domain name)

2014-06-05 Thread Jonathan Hammer
Hi, >From my reading of the documentation, there is no way to accomplish >rate-limiting of outgoing mail based on the IP address (not domain) of the >destination's relay. Is that correct? The problem we are facing is that many of our destination email addresses have different domain names that

Re: PATCH: one line of output from pipe to add to logging

2014-06-05 Thread Wietse Venema
Andreas Schulze: > Wietse Venema: > > With the following patch, the pipe(8) daemon logs some command > > output after successful delivery as: > ... > > > --- ./src/global/pipe_command.c Thu Jun 5 14:27:06 2014 > > --- ./src/pipe/pipe.c Thu Jun 5 15:01:48 2014 > > --- ./src/tls/tls_serv

Re: PATCH: one line of output from pipe to add to logging

2014-06-05 Thread Andreas Schulze
Wietse Venema: > With the following patch, the pipe(8) daemon logs some command > output after successful delivery as: ... > --- ./src/global/pipe_command.c Thu Jun 5 14:27:06 2014 > --- ./src/pipe/pipe.c Thu Jun 5 15:01:48 2014 > --- ./src/tls/tls_server.cTue Jun 3 08:43:10 2014 Hel

PATCH: one line of output from pipe to add to logging

2014-06-05 Thread Wietse Venema
n logs some command output after successful delivery as: dsn=2.0.0, status=sent (delivered via XXX service (YYY))" where XXX is the master.cf service name and YYY is command output. The code is somewhat clumsy because it overwrites text with itself. Wietse 20140605 Feature: t

Re: feature request: one line of output from pipe to add to logging for audit purposes

2014-06-05 Thread Viktor Dukhovni
On Thu, Jun 05, 2014 at 04:51:56PM +0200, Maarten Vanraes wrote: > > Just pipe this line to "postlog", and include the queue-id of the input > > message (${queue_id} pipe(8) argument used *before* ${recipient} or > > similar which expands to multiple arguments and must be last unless > > the trans

Re: feature request: one line of output from pipe to add to logging for audit purposes

2014-06-05 Thread Maarten Vanraes
Op donderdag 5 juni 2014 14:36:26 schreef Viktor Dukhovni: > On Thu, Jun 05, 2014 at 04:04:43PM +0200, Maarten Vanraes wrote: > > Op woensdag 4 juni 2014 12:49:29 schreef Wietse Venema: > > [...] > > > > > The pipe daemon expects a specific reponse format, and that > > > format does not include SM

Re: feature request: one line of output from pipe to add to logging for audit purposes

2014-06-05 Thread Viktor Dukhovni
On Thu, Jun 05, 2014 at 04:04:43PM +0200, Maarten Vanraes wrote: > Op woensdag 4 juni 2014 12:49:29 schreef Wietse Venema: > [...] > > The pipe daemon expects a specific reponse format, and that > > format does not include SMTP reply codes. See pipe(8) manpage. > > > > I can see benefit in loggin

Re: feature request: one line of output from pipe to add to logging for audit purposes

2014-06-05 Thread Maarten Vanraes
Op woensdag 4 juni 2014 12:49:29 schreef Wietse Venema: [...] > The pipe daemon expects a specific reponse format, and that > format does not include SMTP reply codes. See pipe(8) manpage. > > I can see benefit in logging downstream status information, but it > will necessarily have to be limited.

Re: Postfix Virtual domains wrong "from" field

2014-06-05 Thread Luigi Cirillo
Thank you Mark, you was very helpful. I knew it but I was confused because also another client had the same behaviour. Anyway I write how I solved for the mailing list archive. Squirrelmail didn't know the user mail address because I didn't set the map file path in squirrelmail, the address user.vi