On 10/28/20 2:38 PM, Wietse Venema wrote:
One possible way out is to skip the Postfix sendmail command, and
to use a "mini sendmail" program that submits mail via SMTP.

i've typically got msmtp rattling around.

Obviously that will fail when Postfix is down.

noted.

not ideal, but not critical.

It is theoretically possible to build a 'submit via authenticated
SMTP' mode into the Postfix sendmail command, and/or to save
unsubmitted mail to ~/dead.letter, but both add complexity (new
bugs) and introduce new failure modes (more bugs).

i generally don't like the idea of adding more failure points.

i'm working to remove as much cruft as possible.  adding the notification 
script already is counterproductive to that goal.

seems to me there should be a way to give that extra script -- called by a service 
milter that _itself_ seems to have all its needed perms for its 'normal' ops -- the 
correct rights & perms to talk to sendmail.
from _outside_ of postfix.

which seems like not-a-postfix matter.

Reply via email to