On Mon, Jun 19, 2000 at 10:27:05PM +0300, Mikko Hänninen wrote:
> > 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...
Hmmm... I use Qmail as my SMTP server on my server, but not on this
machine. Maybe I should use Qmail on this machine also...
> 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.
Is there no way to get mutt to talk to sendmail in the same way as
Pine?
> 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.
1.2 is the devel version, no? Hmmm... I think I want to get 1.0.1
working properly first... =) How can I pass the active email address
to the $sendmail variable? Ie. sometimes I send as
[EMAIL PROTECTED] and sometimes I send as
[EMAIL PROTECTED]? Obviously I don't want the Return-Path to be
[EMAIL PROTECTED] when I send from the admin address? Is
there a variable like, say, $email I can put in there like:
sendmail="/usr/lib/sendmail -oi -oem -f$email"
??
Thanks for helping me out with this. I do appreciate it. If there
is no way to do it I might have to switch to qmail from sendmail on
this machine too...
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org