Quanah Gibson-Mount: > --On Monday, October 22, 2012 6:17 PM -0400 Wietse Venema > <wie...@porcupine.org> wrote: > > > Quanah Gibson-Mount: > >> --On Monday, October 22, 2012 5:09 PM -0400 Wietse Venema > >> <wie...@porcupine.org> wrote: > >> > >> > 1) Use the before-queue filter for mail from outside: > >> > > >> > external clients -> smtpd -> Amavis ... > >> > > >> > 2) Use the after-queue filter for mail from inside: > >> > > >> > internal clients -> smtpd -> cleanup -> queue -> smtp -> Amavis ... > >> > > >> > Wietse > >> > >> I already tried this, and it is not an acceptable solution, because > >> postfix will not accept mail if OpenDKIM is not running. I need > >> Postfix to accept and queue the email in that scenario, rather than > >> reject it. > > > > RTFM http://www.postfix.org/postconf.5.html#milter_default_action > > I have read that before. None of the actions it allows are desirable. > > Changing the action to quarantine requires manual intervention on the admin > side to ever get this to deliver.
You had a problem with not being able to sign mail with a Milter before it enters your content filter. I kindly provided an example that allows you to do that. It even works with the same content filter. Now you reject the solution. Not because it would fail to sign mail as promised. Not because it wouldn't work with the filter as promised. There is, and there will not be, a queue between the Postfix SMTP server protocol engine and the Postfix Milter client protocol engine, where email messages wait until a broken Milter server comes back. Not in Postfix, not in Sendmail, not in other MTAs. The Milter protocol is designed for before-queue agents, so that they can inspect the SMTP command stream as it happens. Wietse