On Mon, Sep 20, 1999 at 01:56:23PM -0500, David DeSimone wrote:
> 
> For reasons that are still not clear to me, Mutt calls sendmail by
> inserting a "--" argument between the options and the mail addresses. 
> Apparently this is an option recognized by later sendmails, so that even
> if an address starts with a "-" (is that even RFC822-legal?), sendmail
> will still recognize it as an address, not an option.
> 
> However, non-sendmail programs appear not to recognize this option, and
> they get some grief from its use.  I suggest you comment out the line
> that adds this delimeter, in Mutt, and see how it goes.

David, thanks much for the pointer. I had mutt call a shell script that
strips the "--" and then calls premail, which then calls sendmail. This
works for unencrypted mail. However, that's not the only problem.  For
encrypting mail, premail expects a 

 To: him@there ((encrypted-pgp))

 line, and Mutt has a "feature" that automatically mungs such lines into
 
 To: "(encrypted-pgp)" <him@there>

I'd much prefer the default behavior of Mutt to be to leave headers as
they are written, particularly as long as they are RFC822 compliant.

Do you (or anyone) happen to know how to disable this "feature," e.g.,
what changes need to be made to the source, and in which file?

I found nothing about it in the manual, and looked in the source
but it was hopeless.

TIA,

-rex

 

Reply via email to