I want to use procmail to do some pre-processing of outgoing mail
before sending.  I have created an rcfile for procmail that does
what I want called ~/.procoutrc which does the processing I want
using formail and passes the mail to sendmail for sending.  It
works as I expect and want if I

        cat message | procmail ~/.procoutrc

My problem is that I don't know what to use for ~/.muttrc in the
$sendmail variable.  I tried

        set sendmail="cat | procmail ~/.procoutrc"

It didn't work.  That Mutt appends destination addresses to
the command line appears to be the issue.  I am using the '-t'
switch in sendmail to determine destination addresses, so
ignoring those command line addresses is OK.  How can I accomplish
this?  (Is there a better way than what I am doing?)

Thanks,

        -- Mr. Wade

-- 
Linux: The Choice of the GNU Generation

Reply via email to