Differences

This shows you the differences between two versions of the page.

Link to this comparison view

internal:email:muttrc [2010/02/12 09:07]
galaxy added a comment re: identities' format, fixed some grammar errors
internal:email:muttrc [2010/08/18 14:27] (current)
solar added sample send-hooks setting the From address depending on who is being e-mailed
Line 113: Line 113:
 macro compose v "<​enter-command>​source '​~/​.mutt/​bin/​get_my_ids|'<​enter><​edit-from>​^U_id_<​tab>"​ "​Select from" macro compose v "<​enter-command>​source '​~/​.mutt/​bin/​get_my_ids|'<​enter><​edit-from>​^U_id_<​tab>"​ "​Select from"
 </​file>​ </​file>​
 +
 +As an alternative or in addition to manual From address selection, the following settings may be used (from [[:​people/​solar|Solar]]'​s .muttrc, with minor changes not to reveal the specific addresses on this public wiki page):
 +
 +<​file>​
 +send-hook . '​unmy_hdr From:'
 +send-hook ~Ctech@client1 '​my_hdr from: "First Last" <​me@client1.com>'​
 +send-hook '​client2|client3'​ '​my_hdr from: "First Last" <​me@openwall.com>'​
 +send-hook ~tfriend@somewhere '​my_hdr from: "First Last" <​me-personal@openwall.com>'​
 +</​file>​
 +
 +The "​~Ctech@client1"​ line is triggered whenever the client company'​s sysadmin team address is in To or CC, which it should be when e-mailing customers/​clients of that client company (we represent that company rather than Openwall when we do so).  The "​client2|client3"​ line is triggered when the domain name of one of these clients is found on one of the destination addresses (we represent Openwall when we contact them).
  
 ====== .vimrc ====== ====== .vimrc ======
  
 We commonly use the [[http://​www.vim.org|VIM]] text editor along with Mutt.  Please refer to the page on [[internal:​vimrc|.vimrc settings]], which describes some of those relevant to editing e-mail messages. We commonly use the [[http://​www.vim.org|VIM]] text editor along with Mutt.  Please refer to the page on [[internal:​vimrc|.vimrc settings]], which describes some of those relevant to editing e-mail messages.
internal/email/muttrc.txt ยท Last modified: 2010/08/18 14:27 by solar
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux