Excerpts from William Morgan's message of Thu Jan 24 23:03:58 -0500 2008:
> I don't think so... you can apply the patch below and see exactly what
> Sup is sending sendmail. In my case, that header is intact. So it must
> be getting overwritten somewhere else in the system.
> 
> There's some crazy interaction between this header, the From: and
> Sender: headers, and the -f option of sendmail. Maybe you should use a
> -f with sendmail (in your ~/.sup/config.yaml file)? Did you have a
> particular way of calling sendmail with Mutt?

Right you are about the crazy interaction.  It's not clear to me how
Mutt is calling sendmail, but now I'm guessing all that the "set
envelope_from=yes" does in mutt is add the -f flag followed by one's
"from" email to the call to sendmail.  

If I do that in my ~/.sup/config.yaml, the return-path is set
correctly (at least, it was in my tests.  How does this message
look?!).  In fact, I believe it's set correctly even if I don't set
the return-path in ~/.sup/hooks/edit-before.rb or patch lib/mbox.rb.
In other words, all that needs to be done to fix my problem is the
addition of -f <email> to the sendmail call.  Maybe it could be an
option in the initial account setup?

Oh, and thanks for all the work you're doing on sup, William.  Really
great stuff.
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to