Vincent Danen <[EMAIL PROTECTED]> wrote on Sun, 18 Jun 2000:
> Hi there.  I can't seem to figure this one out.  It's like sendmail
> is re-writing the Return-Path header and it's making my posts to some
> mailing lists bounce for some reason.
> 
> I insert a my_hdr Return-Path:... statement into the .muttrc for
> [EMAIL PROTECTED] but when it bounced back for the second
> time it showed the Return-Path as [EMAIL PROTECTED] (where
> devel.danen.net is the hostname for this computer).  Since I can't
> quite change the hostname on the fly, does anyone know how I can fix
> this?

I think that when you invoke sendmail as a program, it won't pick up
the return path from the Return-Path header, it only does it from
the -f command line option.  qmail uses the Return-Path, and Postfix
maybe too?, but not sendmail...

The reason why Pine works is that Pine doesn't run sendmail as a
program, instead it talks directly SMTP, in which case sendmail will not
change the return path and it's excplicitly stated already.

If you upgrade to Mutt 1.2, you can set the $envelope_from variable
which means Mutt will set the envelope sender to the same as the the
address in the From header.  If you want to solve this and stay with
Mutt 1.0.1 (which is what you're using, according to the email headers
anyway) then you need to either add the -f option to the sendmail
invocation (the $sendmail Mutt variable) or create a wrapper script
around sendmail that sets the -f option in some way.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Are you suggesting that coconuts _migrate_?" -- The Quest For The Holy Grail

Reply via email to