On Mon, Jun 03, 2002 at 10:03:10AM +0800, Michael C Alonzo wrote: | > The proper place to achieve that is in your Mail User Agent (MUA, | > e.g. mutt) and not in your Mail Delivery Agent (MDA, e.g. exim) | > simply because your MDA doesn't know to what mail you're replying. | > You need to sort the incomming mail into seperate folders and then | > use mutt's mailbox-hook feature to set the From header depending | > on the mailbox. | | ok. thanks, for pointing that | > Personally, I would advice to investigate the first and look into | > Mutt's mailbox-hooks. | | do you have an example?
I have an example of using mutt to set a different From: header. All mail goes out the same server, though, (my own machine->MX of recipient). set realname="Derrick 'dman' Hudson" from='[EMAIL PROTECTED]' set use_from ### # reset the default settings. # These must execute before the other hooks. send-hook '~t ^.*$' unmy_hdr From send-hook '~t ^.*$' set signature="~/util/script/sig_gen.py|" send-hook '~t ^.*$' set pgp_sign_as = "1293A514" ### send-hook '~t [EMAIL PROTECTED]' \ my_hdr 'From: Derrick Hudson <[EMAIL PROTECTED]>' send-hook '~t [EMAIL PROTECTED]' my_hdr 'From: dman <[EMAIL PROTECTED]>' ### # [Former Co-op Employer] send-hook '~t [EMAIL PROTECTED]' my_hdr 'From: Derrick Hudson <[EMAIL PROTECTED]>' send-hook '~t [EMAIL PROTECTED]' set pgp_sign_as = "[the_id]" send-hook '~t [EMAIL PROTECTED]' set signature="~/.signature.ROS" ### As you can see, I also want to use a different .sig and a different gpg signature for stuff that was work-related. My tests depend solely on who the recipient (To: header) is. -D -- Come to me, all you who are weary and burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am gentle and humble in heart, and you will find rest for your souls. For my yoke is easy and my burden is light. Matthew 11:28-30 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
pgpk91rKCIlix.pgp
Description: PGP signature