nmh-workers
[Top] [All Lists]

Re: Is nmh suitable for managing multiple email accounts?

2021-03-06 12:33:53
The other advice probably covers the simplest routes.  It is possible to
mix and match though: the two points I hacked to get it working are:

  - For sending, you just need to create a custom components file
    (template blank email message with an appropriately-set From: and
    (if you want to archive sent messages) Fcc: folder) for each
    identity, then you can set up aliases to use each.

  - For replying, you can set 'editor' in your .mh_profile to invoke a
    custom script which (prior to invoking your actual editor) will work
    out which identity the email you're replying to is associated with,
    and make patches to the reply's From: and Fcc: headers as necessary.

  - You then need to patch your mail transfer agent (I use exim4) so
    that with different 'From's it sends via different mailhosts.  This
    is not MH's problem, and varies from one MTA to the next.

I use this successfully to mix and match a very large number of distinct
email identities, but it *is* a bit of a bother to set up and most
rational people probably would choose not to.

Also every time I describe something I'm doing with nmh someone on this
list posts with a better way using more recent features, so watch this
space..

Conrad

<Prev in Thread] Current Thread [Next in Thread>