Re: mutt, exim, sender's email address
On Fri, Mar 25, 2011 at 12:15:43PM -0700, evenso wrote:
> On Fri, Mar 25, 2011 at 10:20:11AM -0700, Mike McClain wrote:
> > On Fri, Mar 25, 2011 at 12:29:04AM +0000, Brian wrote:
> > > On Thu 24 Mar 2011 at 14:53:29 -0700, Mike McClain wrote:
> > >
> > > > Is there any automatic way to have the sender's email address
> > > > changed depending on whether or not the mail is going to a list?
> > >> <snip>
> >
> > > In my mutt configuration file I have:
> > > send-hook . 'unmy_hdr From:'
> > > send-hook '~t debian-user@lists\.debian\.org' 'my_hdr From: Brian <ad44@cityscape.co.uk>'
> > >
> > > Would that be anything like what you are looking for?
> >
> > Well, I don't know but I'll try it and see, from re-reading the docs
> > it surely looks like it, guess I just missed it.
> > Thanks,
> > Mike
> > --
>
> As of 1.5, mut can deliver directly to a remote SMTP but I don't know
> whether or not the Debian package is compiled for that, probably.
>
> Otherwise, exim4 will edit those "from:" headers to respect the local
> domain or to what has been configured for a standard rewrite.
>
> Brian's link look about good for conditional rewrite but I haven't read or
> tried it.
>
P.S. Link to configuring mutt to send direct to remote SMTP (so exim4
doesn't rewrite the "from:" header.
http://wiki.mutt.org/?MuttFaq/Sendmail
You could make a macro in muttrc that sources that config and turn it on/off
depending on whether you wanted to send from your basic domain with exim4.
--
Regards,
Freeman
"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody
Reply to: