Advertisement
Guest User

Untitled

a guest
Feb 14th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. alias f__1 Me <my.one@address.example.org>
  2. alias f__2 Myself <another@address.example.com>
  3. alias f__3 I <somewhere@else.local>
  4. macro compose <esc>f "<edit-from><kill-line>f__<tab><search>another@address.example.com<enter>"
  5.  
  6. $ cat .msmtprc
  7. defaults
  8. tls on
  9. tls_trust_file [redacted]
  10. logfile [redacted]
  11. domain serverdomainexample.tech
  12.  
  13. account example
  14. host smtp.example.com
  15. port 587
  16. auth on
  17. from user@example.com
  18. user user@example.com
  19. password correct-horse-battery-staple
  20.  
  21. account example2
  22. host smtp.example2.net
  23. port 587
  24. auth on
  25. from user2@example2.net
  26. user user2@example2.net
  27. password correct-horse-battery-staple-2
  28.  
  29. account default : example
  30.  
  31. $ cat .mutt/muttrc
  32. ...
  33. set sendmail = '/usr/bin/msmtp'
  34. set realname = 'User'
  35. set use_from = 'yes'
  36. set envelope_from = 'yes'
  37. set from = 'user@example.com'
  38. alternates '(user@example.com)|(user2@example2.net)'
  39. macro compose <esc>1 '<esc>f^UUser <user@example.com><enter>'
  40. macro compose <esc>2 '<esc>f^UUser2 <user2@example2.net><enter>'
  41. send2-hook '~e user2@example2.net' "set sendmail = '/usr/bin/msmtp -a example2'"
  42. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement