Nikola Filipcic <[EMAIL PROTECTED]> wrote on Fri, 21 Jan 2000:
> I was wondering if it's possible to have mutt configured to put apropriate address in
> From: header ,when replying to a message, that depends on which original address
> message was received.

Yes, it's called the $reverse_name variable.  Look it up in the manual.

Alternatively, you can change your From header using send-hooks and set
up "my_hdr From: ..." (or, if you're using the dev version, you can do
"set from=..." in the hook).  This changing only works based on the
*destination* address though.  You should note that $reverse_name and
the 'send-hook ... "my_hdr From: ..."' approach don't work well
together, so if you're not using the developement version, you should
pick one method or another.

> Is there any other more elegant solution for handling multiple e-mail
> accounts on a single local account?
> The only idea I have is to use  suffix (or prefix) with username on local
> machine and then have local MTA (exim in my case) filter that mail to
> apropriate folder depending on the suffix.

That would work too; Mutt supports nicely multiple incoming mail
folders.  You could have per-folder settings for each of these with a
folder-hook, if you'd like.

So you have 3 options to choose from, $reverse_name is probably the
closest to what you had in mind.


Regards,
Mikko

PS. Please use the address [EMAIL PROTECTED] when posting to the list.
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
145 = 1! + 4! + 5!

Reply via email to