On Wed, Mar 17, 2010 at 4:52 AM, steve <[email protected]> wrote: > Hi mutt-users, > > I have several addresses and when someone I don't know sends me an email, > this one goes in my inbox (procmail default). Now if I hit 'r', the From > header will be automaticaly set to my default email, which is sometimes > not the preferred behaviour, I would like to use the email address the > sender used. For example: > > I receive an email with: > > From: [email protected] > To: [email protected] > > (I don't have any special settings for [email protected]) > > I hit 'r' and I get: > > From: [email protected] > To: [email protected] > > > but I would like to have: > > From: [email protected] > To: [email protected] > > > How can I do this? Should I use a reply-hook? reverse_name? I'm a bit > confused here. > > Many thanks in advance for your help. > > steve >
Hi, I am not sure if I am correct but if you just simply want From: [email protected] To: [email protected] Then simple set envelope_from ="yes" set reverse_name=yes alternates "[email protected]|[email protected]" should be enough. But usually this is not the good way because you surely don't want your realname, signature to be identical to default in general. So I would suggest you to use reply-hook. Notice don't forget to set default reply-hook at first. One thing more about the alternates: you should set your mta to be aware of [email protected]. I have only had experience on msmtp and if m...@foobar is not an independent accout in msmtprc then msmtp will use the default account in msmtp to send the mail out. Peng
