[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt, exim, sender's email address

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?
> I try to use one address for lists which get published world wide
> and another for business that only goes to a select few. I've a tiny
> script to change the address in /etc/email-addresses which affects
> outgoing mail but try as hard as I might I still forget to switch
> sometimes and the address I'd like to keep private goes public.

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?

Reply to: