Re: Running a transport action only as a catch-all

2017-05-11 Thread Andrew Beverley
On Wed, 10 May 2017 19:26:48 -0400 (EDT) Wietse Venema wrote: > > Normally I would avoid a catch-all for the obvious reasons, but > > we're undertaking a migration, and for a short period we want to > > have the Postfix server relay to another MX server any messages > > that it has no specific acti

Re: Restarting milter application

2017-05-11 Thread Purushotham Nayak
Thanks so much for the information! Also, tempfail does work correctly. But couple of questions though, 1. When default action is tempfail and the milter is unavailable, smtpd sends 451 (Requested action aborted: error in processing). Wonder if there is a way to send 421 (Service not available, cl

Re: Restarting milter application

2017-05-11 Thread Viktor Dukhovni
> On May 11, 2017, at 12:16 PM, Purushotham Nayak > wrote: > > 2. I noticed that when the milter application exits, it sends FIN to smtpd > but smtpd keeps the connection open in the CLOSE_WAIT state. When the client > sends something new and smptd tries to send SMFIC_ABORT to the milter on t

Re: Running a transport action only as a catch-all

2017-05-11 Thread Viktor Dukhovni
> On May 11, 2017, at 11:55 AM, Andrew Beverley wrote: > > I've tried setting relay_domains and > relay_recipient_maps accordingly, but what I failed to mention in my > first email is that the domain in question is a virtual domain. As > such, emails that I would like forwarded (in relay_domains

Re: Restarting milter application

2017-05-11 Thread Purushotham Nayak
Combining milter restart with postfix reload sounds like a good suggestion. Our milter restarts due on rare occasions due to upstream changes, but combining it with postfix reload or postfix -> milter seems good solution. Thanks very much for your input. Thanks, Purush On Thu, May 11, 2017 at 12:

Re: Restarting milter application

2017-05-11 Thread Wietse Venema
Purushotham Nayak: > Thanks so much for the information! Also, tempfail does work correctly. But > couple of questions though, > > 1. When default action is tempfail and the milter is unavailable, smtpd > sends 451 (Requested action aborted: error in processing). Wonder if there > is a way to send

Re: Running a transport action only as a catch-all

2017-05-11 Thread Andrew Beverley
On Thu, 11 May 2017 12:30:11 -0400 Viktor Dukhovni wrote: > > > On May 11, 2017, at 11:55 AM, Andrew Beverley > > wrote: > > > > I've tried setting relay_domains and > > relay_recipient_maps accordingly, but what I failed to mention in my > > first email is that the domain in question is a virtu