This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
email:mutt [2015/09/13 02:07] seanburns |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Mutt config file here. I use Mutt for three accounts and have three separate config files for each account. The muttrc below is a basic generalization of all three. I have never gotten around to setting up Mutt to handle multiple accounts. When I want to bring up Mutt for my main account, in the terminal: | ||
- | <code bash> | ||
- | mutt | ||
- | </ | ||
- | |||
- | When I want to bring up my personal account (email from my server), I have an alias in .bash_aliases: | ||
- | |||
- | <code bash> | ||
- | csb | ||
- | </ | ||
- | |||
- | Where ' | ||
- | |||
- | <code bash> | ||
- | alias csb=' | ||
- | </ | ||
- | |||
- | Ditto with Gmail. In BASH, I type: | ||
- | |||
- | <code bash> | ||
- | gmail | ||
- | </ | ||
- | |||
- | Which is aliased to a separate .muttrc config file: | ||
- | |||
- | <code bash> | ||
- | alias gmail=' | ||
- | </ | ||
- | |||
- | I use [[email: | ||
- | |||
- | <code bash> | ||
- | # Set alias file | ||
- | set alias_file = ~/ | ||
- | source ~/ | ||
- | source ~/ | ||
- | |||
- | # Where new mail goes | ||
- | set folder = " | ||
- | set spoolfile = " | ||
- | |||
- | # Weed out unwanted header info | ||
- | ignore * | ||
- | unignore to from date subject cc organization organisation | ||
- | |||
- | # Set envelope ; common header stuff | ||
- | set from=" | ||
- | set realname=' | ||
- | my_hdr Reply-to: My Name < | ||
- | my_hdr Return-path: | ||
- | my_hdr From: My Name < | ||
- | my_hdr Organization: | ||
- | my_hdr X-URL: My website | ||
- | my_hdr X-Operating-System: | ||
- | my_hdr X-Message-Flag: | ||
- | set envelope_from=yes | ||
- | |||
- | # Set sendmail | ||
- | set sendmail="/ | ||
- | |||
- | ############################### | ||
- | |||
- | ## Mail Folders | ||
- | |||
- | # Type of mail files | ||
- | set mbox_type=Maildir | ||
- | |||
- | # Directory that contains all mail files | ||
- | set folder=~/ | ||
- | |||
- | # Where to save postponed mail | ||
- | set postponed= " | ||
- | |||
- | # Where to save copies of outgoing mail | ||
- | set record=" | ||
- | |||
- | # Save copies of outgoing mail | ||
- | set copy=yes | ||
- | |||
- | # Don't ask about moving messages. | ||
- | set move=no | ||
- | |||
- | # Show full date in index; various ways below | ||
- | set index_format=" | ||
- | |||
- | ############################### | ||
- | |||
- | # Save encrypted mail in the clear | ||
- | set fcc_clear=yes | ||
- | |||
- | # Automatically delete messages | ||
- | set delete=yes | ||
- | |||
- | # Automatically quote message | ||
- | set include=yes | ||
- | |||
- | # Set folder hooks and sort by thread for all folders | ||
- | folder-hook . set sort=threads | ||
- | |||
- | # No confirmation before printing | ||
- | set print=" | ||
- | |||
- | # Use muttprint for pretty printing | ||
- | #set print_command=" | ||
- | |||
- | # Print every mail extra | ||
- | set print_split | ||
- | |||
- | # View html emails | ||
- | auto_view text/html | ||
- | alternative_order text/plain text/ | ||
- | |||
- | # No + signs before wrapped lines | ||
- | set markers=no | ||
- | |||
- | # tell Mutt which mailing lists I subscribe to | ||
- | subscribe nameoflist@host | ||
- | |||
- | # more mailing list stuff | ||
- | set followup_to | ||
- | set honor_followup_to=yes | ||
- | |||
- | # signature | ||
- | set signature=" | ||
- | |||
- | ############################### | ||
- | |||
- | # Set editor. | ||
- | set editor="/ | ||
- | |||
- | # Open urls with urlview | ||
- | macro index \cb |w3m\n | ||
- | macro pager \cb |w3m\n | ||
- | |||
- | # Search Macro | ||
- | macro generic S "< | ||
- | </ |