Install paclink-unix
- Configure a single MTA
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
plu:email_client_config [2016/09/25 15:13] gunn [Install mutt] |
plu:email_client_config [2017/12/04 10:23] (current) gunn [mutt and mail] |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| </file> | </file> | ||
| - | ===== mutt ===== | + | ===== mutt and mail ===== |
| - | + | * Overview of [[wp>Mail_(Unix) | Mail]] & [[wp>Mutt_(e-mail_client) | Mutt]]. | |
| - | * [[http://www.mutt.org/ | Mutt e-mail client home page]] | + | * The latest version of mutt is [[https://www.neomutt.org/ | NeoMutt]] |
| + | * [[http://www.mutt.org/ | Original Mutt e-mail client home page]] | ||
| * [[http://www.ucolick.org/~lharden/learnmutt.html | Learning Mutt]] | * [[http://www.ucolick.org/~lharden/learnmutt.html | Learning Mutt]] | ||
| ==== Install mutt or mail ==== | ==== Install mutt or mail ==== | ||
| Line 32: | Line 33: | ||
| * or install //mail// program | * or install //mail// program | ||
| <code> | <code> | ||
| - | <apt-get install mailutils | + | apt-get install mailutils |
| </code> | </code> | ||
| ==== Configure mutt ==== | ==== Configure mutt ==== | ||
| Line 56: | Line 57: | ||
| * Create a mail message in a text file | * Create a mail message in a text file | ||
| - | * Subject is: %%//WL2K R/%% Test msg | + | * Subject follows -s in quotes |
| + | * //mutt -c// allows specifying Carbon Copy addresses | ||
| + | * Blind Copy (Bcc:) does not work in winlink e-mail | ||
| + | <code> | ||
| + | # send content of a file in body of e-mail | ||
| + | mutt -s "put subject line here" you@youremailid.com someoneelse@whatever.com < file_name_of_content | ||
| + | </code> | ||
| + | * Another example doing the same thing | ||
| <code bash> | <code bash> | ||
| mutt -s "//WL2K R/ Test msg" callsign>@winlink.org < mail_message_file_name | mutt -s "//WL2K R/ Test msg" callsign>@winlink.org < mail_message_file_name | ||
| Line 74: | Line 81: | ||
| mutt -s “//WL2K R/” kg6geu@winlink.org, ke7kro@winlink.org < /tmp/mailmessage.txt | mutt -s “//WL2K R/” kg6geu@winlink.org, ke7kro@winlink.org < /tmp/mailmessage.txt | ||
| </code> | </code> | ||
| + | |||
| + | |||
| + | ==== Running mail in a script or command line ==== | ||
| * //mutt// and //mail// programs have similar syntax for the basic operation | * //mutt// and //mail// programs have similar syntax for the basic operation | ||
| * //mutt -x// will emulate the mailx compose mode | * //mutt -x// will emulate the mailx compose mode | ||
| - | * Example using //mail// program | ||
| * **NOTE**: winlink mail is picky about the "From:" & "Reply-To:" fields so you need to set them explicitly | * **NOTE**: winlink mail is picky about the "From:" & "Reply-To:" fields so you need to set them explicitly | ||
| - | === mail example === | ||
| <code> | <code> | ||
| # send content of a file in body of e-mail | # send content of a file in body of e-mail | ||
| Line 91: | Line 99: | ||
| </code> | </code> | ||
| - | === mutt example === | ||
| - | * go [[plu:email_client_config#configure_mutt | here]] to see how to configure mutt | ||
| - | * [[plu:email_client_config#running_mutt_in_a_script_or_command_line | Link to example of running mutt from a command line]] | ||
| - | * //mutt -c// allows specifying Carbon Copy addresses | ||
| - | * Blind Copy (Bcc:) does not work in winlink e-mail | ||
| - | <code> | ||
| - | # send content of a file in body of e-mail | ||
| - | mutt -s "put subject line here" you@youremailid.com someoneelse@whatever.com < file_name_of_content | ||
| - | </code> | ||