[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: bounce-message command ignores sendmail -f <address>
From:       Jeremy Blosser <jblosser () firinn ! org>
Date:       2001-03-17 9:14:59
[Download RAW message or body]


furio ercolessi [furio+mu@spin.it] wrote:
> On Sat, Mar 17, 2001 at 09:36:31PM +0530, Suresh Ramasubramanian wrote:
> > Using a large mallet, furio ercolessi whacked out:
> > > 	set sendmail='/usr/sbin/sendmail -oem -oi -f user@domain'
> > > to change my envelope FROM, and it works fine when I send,
> > > command.  In that case, the outgoing message retains my "native" 
> > > envelope FROM, containing my Unix username.   Evidently, mutt does not 
> > > use the "sendmail" variable defined above in this case.
> > > Is there any way to change this behavior? I am on 1.2.5.
> >  
> >  This is a feature rather than a bug in mutt.  I suggest using 
> > 
> >  MASQUERADE_AS(`spin.it')
> >  FEATURE(`masquerade_envelope')
> 
> Our 'sendmail' is really the sendmail-like interface of postfix.
> Anyway, we use a similar setup for masquerading the domain part.
> It is not the domain part but the username part that I would
> like to change.  That is: if I receive mail on an alias, I would
> like to bounce mail so that it appears to come from the same alias
> (at least sometimes).

The proper way to do this with mutt is using the $alternates and
$reverse_name variables, see the manual.

And a better way to handle the envelope FROM is to set the $envelope_from
variable.  This will make mutt handle passing -f to your "sendmail", and
seems to work on bounced messages as well as any others.

-- 
Jeremy Blosser   |   jblosser@firinn.org   |   http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
the crises posed a question / just beneath the skin
the virtue in my veins replied / that quitters never win

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic