Reformatted excerpts from Gabriel Sean Farrell's message of 2008-01-23:
> I've added the line and applied the patch. Now I see "Return-Path" in
> the headers of my message before I send it, but when I receive it the
> return-path is still the one I was trying to override. Could the one
> I set still be getting stripped out?
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?
diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mod
index 6a7f273..0e50724 100644
--- a/lib/sup/modes/edit-message-mode.rb
+++ b/lib/sup/modes/edit-message-mode.rb
@@ -279,6 +279,7 @@ protected
date = Time.now
m = build_message date
IO.popen(acct.sendmail, "w") { |p| p.puts m }
+ File.open("sent-copy.txt", "w") { |f| f.puts m }
raise SendmailCommandFailed, "Couldn't execute #{acct.sendmail}" unless $
SentManager.write_sent_message(date, from_email) { |f| f.puts sanitize_bo
BufferManager.kill_buffer buffer
--
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk