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:use_cases [2016/09/24 10:34] gunn [Use Case 1: command-line movemail client] |
plu:use_cases [2017/12/04 10:27] (current) gunn [Use Case 2: GUI or command line movemail client] |
||
---|---|---|---|
Line 25: | Line 25: | ||
the command line ie. [[wp>Mail_(Unix) | Mail]] & [[wp>Mutt_(e-mail_client) | Mutt]]. | the command line ie. [[wp>Mail_(Unix) | Mail]] & [[wp>Mutt_(e-mail_client) | Mutt]]. | ||
- | * //mutt// and //mail// programs have similar syntax for the basic operation | + | * Examples using [[plu:email_client_config#mutt_and_mail]] in scripts or command line. |
- | * //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 | + | |
- | === mail example === | ||
- | <code> | ||
- | # send content of a file in body of e-mail | ||
- | mail -s "//WL2K your subject line here" -a "From: yourcallsign@winlink.org" -a "Reply-To: yourcallsign@winlink.org" someonescallsign@winlink.org someregularemailaddress < file_name_of_content | ||
- | </code> | ||
- | * Note you must use single quotes in the -s subject argument because of the forward slashes | ||
- | <code> | ||
- | # from command line or script | ||
- | echo “This will go into the body of the mail” | mail -s '//WL2K cmd line test' -a "From: yourcallsign@winlink.org" -a "Reply-To: yourcallsign@winlink.org" some_regular_email_address | ||
- | </code> | ||
- | === mutt example === | ||
- | * modify //.muttrc// with these entries | ||
- | * The //.muttrc// file lives in your home dir | ||
- | <file> | ||
- | hdr_order date from to cc subject | ||
- | set use_from=yes | ||
- | set realname ="Your Real Name" | ||
- | set from=yourcallsign@$hostname | ||
- | my_hdr Reply-To: yourcallsign@winlink.org | ||
- | </file> | ||
- | |||
- | * //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> | ||
- | |||
- | === Install mutt and mail === | ||
- | |||
- | <code> | ||
- | apt-get install mutt | ||
- | </code> | ||
- | |||
- | <code> | ||
- | <apt-get install mailutils | ||
- | </code> | ||
===== Use Case 2: GUI or command line movemail client ===== | ===== Use Case 2: GUI or command line movemail client ===== | ||
Line 73: | Line 33: | ||
the group. In this case I have a choice of e-mail clients but they | the group. In this case I have a choice of e-mail clients but they | ||
have a requirement of being able to handle Unix movemail. [[wp>Mozilla_Thunderbird]], | have a requirement of being able to handle Unix movemail. [[wp>Mozilla_Thunderbird]], | ||
- | [[http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN1/0586____.HTM | dtmail]], the webmail client [[http://sourceforge.net/projects/neomail/ | Neomail]] and console based clients pine, elm | + | [[http://cdesktopenv.sourceforge.net/man1/dtmail.html | dtmail]], the webmail client [[http://sourceforge.net/projects/neomail/ | Neomail]] and console based clients pine, elm |
- | & [[http://www.mutt.org/ | mutt]] all satisfy that requirement. In this case you can use any mail | + | & [[http://www.neomutt.org/ | NeoMutt]] all satisfy that requirement. In this case you can use any mail |
client that supports movemail to compose & receive messages, the | client that supports movemail to compose & receive messages, the | ||
transport mechanism remains the same. | transport mechanism remains the same. |