On Mon, Nov 26, 2001 at 09:52:44PM -0600, tim lupfer wrote:
> I'm sure someone probably has a nicer way to do this, but... my shoddy
> way of accomplishing this is using getmail (or procmail) to put mail
> into different folders depending on who it is addressed to (e.g. I put
> school related mail into one folder). Then I simpy use a mutt
> folder-hook to set the from address. If you want to look into hooks a
> bit more here's a link:
> 
> http://www.mutt.org/doc/manual/manual-4.html#ss4.4

Great advice!

################################################################
# e.g. Simple procmailrc recipe for matching an email address
:0:
* ^TOchewie at wookimus\.net
inbox

:0:
* ^TOchad at ima\.umn\.edu
ima

#EOF

################################################################
# .muttrc

set use_from="yes"

### Standard settings
folder-hook inbox set from=chewie at wookimus.net realname="chewie"

### Settings for the IMA address
folder-hook ima set \
    from=chad at ima.umn.edu realname="Chad Walstrom"
send-hook ima\.umn\.edu set \
    from=chad at ima.umn.edu realname="Chad Walstrom" \
    reply_to="yes"
fcc-hook ima\.umn\.edu +ima

### Send hook for my mom, since she has outlook, don't sign
send-hook Mom set pgp_autosign="no"

### These people don't like signatures either (dorks)
send-hook dorks set pgp_autosign="no"

# EOF

-- 
Chad Walstrom <chewie at wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011127/710b92b9/attachment.pgp