<<< Date Index >>>     <<< Thread Index >>>

Re: Multiple return addresses



On 24-09-2007, at 05h 59'12", Doug Carter wrote about "Multiple return 
addresses"
> 
> Hi all,
> 
> I'm having a difficult time setting up multiple return addresses in
> my mutt configuration. I've seen various explanations and suggested
> configurations, but none of them work consistently. 
> 
> I am running Mutt 1.4.1i (installed from CentOS repos) and have the
> following config settings for this:
> 
> set reverse_name=yes
> set reverse_realname=yes
> set alternates="dcarter@xxxxxxxxx|sysadmin@xxxxxxxx"
> send-hook . 'set realname="Doug Carter"'
> send-hook '~f ^sysadmin@xxxxxxxx$'  'set realname="System Administrator"'
> 
> It works ~80% of the time. When replying to a sysadmin@xxxxxxxx email, 
> it sets the From address to System Administrator <sysadmin@xxxxxxxx>.
> The most common failure is it's not setting the realname correctly. It
> fails both ways:
> 
>   System Administrator <dcarter@xxxxxxxx> 
>   Doug Carter <sysadmin@xxxxxxxx>
> 
> The failures seem to be completely random and I haven't found any way
> to debug the problem. Does anyone have this setup and working reliably?
> 

Try something like this:

send-hook . 'my_hdr From: Doug Carter <dcarter@xxxxxxxx>'
send-hook '~f ^sysadmin@xxxxxxxx$' 'my_hdr From: System Administrator 
<sysadmin@xxxxxxxx>'

Ionel