Hi Will and James,

On Fri, Apr 19, 2013 at 12:10:48AM +0100, James Griffin wrote:
> ................Thu 18.Apr'13 at  8:41:11 -0700, Will Yardley................
> > On Thu, Apr 18, 2013 at 03:41:02PM +0200, Suvayu Ali wrote:
> > 
> > > I use multiple from addresses.  When I respond to my own emails in a
> > > thread, I would like to use the same from address as in my original
> > > email.  Instead my default address gets picked up.  I thought this
> > > works by setting alternates.  But that does not seem to work.
> > 
> > Do you have $reverse_name set?
> > 
> > I think your regex can be simplified - the literal dots only need to be
> > escaped once, and I think $alternates is already case-insensitive.
> 
> Will is right, you only need to set $reverse_name.

Yes, I have $reverse_name set to yes too.  While looking at my setup
again, I found my problem; I had a unneeded default message-hook:

  message-hook . "my_hdr From: myaddr...@defaultdomain.com"

Commenting it out solved my issue.

Extremely sorry for the noise.

PS: Thanks Will, I tried a simplified regex and it still works.  :)

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to