mailrc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # $HOME/.mailrc example
  2. # The configuration file of edmail (and mailx)
  3. # edmail(1) uses the first match of the string options
  4. # fetchmail, sendmail, folder, record, from, signature
  5. # aliases, PAGER, EDITOR and cmd. Of these, the fetchmail,
  6. # aliases and script options are edmail specific; the
  7. # fetchmail option specifies the mail delivery agent, the
  8. # aliases option specifies the aliases file to be used [see
  9. # aliases(5)], and the script option makes it possible to
  10. # execute a script on a message.
  11. # Consult the mailx manual for the other options:
  12. # http://heirloom.sourceforge.net/mailx/mailx.1.html
  13. # Paths are assumed to be complete, with the exception
  14. # of the record option, which can make use of the folder
  15. # option. Paths should not contain whitespace. String
  16. # options may be quoted with either single or double
  17. # quotes as needed; the outermost pair is removed.
  18. #----------------------------------------------------------
  19. # no default value
  20. #set fetchmail=getmail
  21. # no default value
  22. #set sendmail=msmtp
  23. # defaults to $HOME/.maildir
  24. #set folder=/home/joe/files/.maildir
  25. # outgoing mail not saved unless set
  26. #set record=+out
  27. # must be set
  28. set from='"Joe D. Brown" <joe@host.tld>'
  29. # no default value
  30. #set aliases=/home/joe/.aliases
  31. # no default value
  32. #set signature=/home/joe/.signature
  33. # defaults to ed
  34. #set EDITOR=vi
  35. # defaults to more
  36. #set PAGER=less
  37. # no default value, handled as sh -c "$cmd" | $PAGER
  38. #set cmd="uudecode -mr"
  39. # no default value, can be used to achieve most anything:
  40. # when called, it gets as arguments the complete filename
  41. # and the args from within edmail
  42. #set script=mime
  43. #----------------------------------------------------------
  44. # mailx options can follow as needed, for example:
  45. #unset signature
  46. #set folder=imaps://joe@host.tld