procmail
[Top] [All Lists]

Configuring Procmail as a Sendmail rule-invoked mailer (info)

2002-02-01 17:47:12

Okay, as every procmail devotee knows, the procmail manpage ('man procmail') lays out what is necessary to invoke procmail directly from a sendmail rule (not as Mlocal, but as Mprocmail).

Pursuant to a question posed here yesterday (and for the 12.4 billionth time since 1990), I decided to run through the steps to create a HACK macro for sendmail.

A preliminary version of my notes and a link to the basic M4 file are at:

        <http://www.professional.org/procmail/mailer.html>

If anyone here is actually invoking procmail as Mprocmail (and please, don't confuse procmail as LDA with this, because that IS NOT what MAILER(`procmail') is about), please look the text over and let me know how it might be improved. I'd like to be able to just point people asking the question "how do I filter outbound mail" or "I want to add a stupid and baseless legal disclaimer to all our outbound messages" to there and say "ok, done". I realize that the procmail manpage isn't overly detailed about implementing the rules, but it certainly wasn't vague about how to hook into sendmail.

In drawing this up, I noted that usenet and the web in general didn't reveal very many references to people using procmail from a sendmail rule-invoked filter.

Also, if anyone knows if there is ANY way to avoid having to _re-inject_ the message into Sendmail to complete the delivery, it'd be appreciated - the way the rule-invoked filter runs, it would appear that you have

I believe that some additional filter examples - especially those which may be invoked at different points in the SMTP transaction - would be a welcome addition to the document as well.

Thanks.
---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Configuring Procmail as a Sendmail rule-invoked mailer (info), Professional Software Engineering <=