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

Re: Mutt/exim - multiple email addresses



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Dec 17, 2000 at 12:52:11PM +0100, Gary Jones wrote:

> What's the best way of rewriting addresses when you have multiple 
> email accounts all pointed at the same local login? I've got exim 
> setup to rewrite the 'From' on outgoing mail so that gdj@localnet 
> becomes one of my real email addresses, which is fine as far as it 
> goes. The problem is that I would like to be able to send email from 
> my other addresses as well, with the correct 'From'. Some sort of 
> interactive script thing, maybe? Does mutt have that kind of 
> extensibility, like slrn?

It's fairly straightforward in mutt, by editing the configuration file
muttrc or using keyboard commands.  Here are 4 ways to do it.

1) Include the line "set edit_headers" in your muttrc.

With this set, you can edit the message headers along with the main
message body.  If you want a custom "From: " line, you can add this in
along with the other headers.

2) From the "send mail" menu, press E to edit the message along with
headers, and add the "From" line of your choice.

3) From the "send mail" menu, press ESC-f to directly edit the "From"
line.

4) Use the "from" variable, or the "my_hdr" command to specify the
"From" line of your choice.

Use of these variables or commands can be automated using "hooks", so
that under specified conditions (eg being in a particular folder), a
predefined From address is used -- or (I think this is possible) by
binding a command like

  set from="alternative-address@example.com"

to a single key.

- -- 
Terry Boon, Hertfordshire, UK
terry@counterfactual.org 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5

iD8DBQE6PLg8B+GG7A6DEUARAgjfAJ9p4nuzv8+iasRH0mFYNXBMTUHR2wCfeoLI
2PYHDiD1l4D5afqd9vmFISQ=
=GuLF
-----END PGP SIGNATURE-----



Reply to: