Why this patch

It adds a pymsgauth-tag program to Charles Cazabon’s pymsgauth that does the same job as pymsgauth-mail, but as a Unix filter. If you post to DJB’s lists, but not by submitting mail via qmail-inject(8) or qmail’s sendmail(8) wrapper, this patch may be useful to you.

Without this patch

When sending a message to one of DJB’s lists, use a Mail User Agent that submits via sendmail(8) and point it at pymsgauth-mail.

Or don’t, and deal with qsecretary by hand.

With this patch

When sending a message to one of DJB’s lists, use a Mail User Agent that submits via SMTP or OFMIP, and arrange for the server to call pymsgauth-tag with the local privileges of the authenticated sender.

This is very easy to do if you use acceptutils for SMTP AUTH, and is documented there.

Get this patch

Download and apply pymsgauth-2.1.0-tag-20170617.patch.

(Copied from pkgsrc/mail/pymsgauth.)

Improve this patch

If you see a simpler way to do it, I’d love to know.