====== Configuration examples for paclink-unix email clients ====== ===== Mozilla Thunderbird ===== * [[https://lists.ubuntu.com/archives/ubuntu-users/2005-February/020961.html | movemail, postfix]] - from Ubuntu forums * [[http://askubuntu.com/questions/301988/using-movemail-with-thunderbird-on-ubuntu | Using Movemail with Thunderbird on Ubuntu]] - from Ask Ubuntu ==== Unix movemail config Steps ==== - Edit > Account settings... - Select 'Movemail' option in account wizard, hit Next. - Set up user information - Your Name 'Jon Doe' <-- displayed name on emails. - Set email address to 'your_user_name_here at localhost' <-- no .com / .net / .org suffix. - Set 'Outgoing Server' to 'localhost' - Account name - I just set this to 'my_user_name at localhost'. * You can set it to 'local mail' or 'mail from my machine', etc. - Now you will get a summary page that asks you to confirm the following information: Account Name: my_account_name at localhost Email Address: my_account_name at localhost Incoming Server Type: MOVEMAIL Outgoing User Name: my_user_name Outgoing Server Name (SMTP): localhost ===== mutt and mail ===== * Overview of [[wp>Mail_(Unix) | Mail]] & [[wp>Mutt_(e-mail_client) | Mutt]]. * 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]] ==== Install mutt or mail ==== * As root apt-get install mutt * or install //mail// program apt-get install mailutils ==== Configure mutt ==== * [[plu:email_client_config:mutt:muttrc | Example .muttrc file]] * mutt has good [[http://www.mutt.org/#doc | documentation]] * cd to your home directory and confirm there is a //Maildir// directory * Setup up the rest of the mail directories mkdir -p ~/Maildir/{,cur,tmp,new} mkdir -p ~/Maildir/inbox/{,cur,tmp,new} mkdir -p ~/Maildir/sent/{,cur,tmp,new} mkdir -p ~/Maildir/drafts/{,cur,tmp,new} mkdir -p ~/Maildir/trash/{,cur,tmp,new} mkdir -p ~/Maildir/attachments/{,cur,tmp,new} * Copy the following mutt .muttrc config file to your home dir and personalize * **Do not run mutt until you have edited this file**: [[plu:email_client_config:mutt:muttrc| example .muttrc file]] * Make sure that you have configured you mail client Reply-To: to be a valid winlink address. ie: * Reply-To: ke7kro@winlink.org ==== Running mutt in a script or command line ==== * Create a mail message in a text file * Subject follows -s in quotes * //mutt -c// allows specifying Carbon Copy addresses * Blind Copy (Bcc:) does not work in winlink e-mail # 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 * Another example doing the same thing mutt -s "//WL2K R/ Test msg" callsign>@winlink.org < mail_message_file_name * Sending e-mail with an attachment * [[http://www.cyberciti.biz/tips/sending-mail-with-attachment.html | Sending Email With Attachments From Unix / Linux Command [ Shell Prompt ]]] mutt -s "//WL2K R/ Test msg" -a /tmp/file.tar.gz you@cyberciti.biz < /tmp/mailmessage.txt * Multiple attachments use -a for each attachment mutt -s “//WL2K R/ Test msg” -a attach1 -a attach2 -a attach3 vivek@nixcraft.co.in < /tmp/mailmessage.txt * Send e-mail to multiple users, separate addresses with a comma mutt -s “//WL2K R/” kg6geu@winlink.org, ke7kro@winlink.org < /tmp/mailmessage.txt ==== Running mail in a script or command line ==== * //mutt// and //mail// programs have similar syntax for the basic operation * //mutt -x// will emulate the mailx compose mode * **NOTE**: winlink mail is picky about the "From:" & "Reply-To:" fields so you need to set them explicitly # 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 * Note in the example below you must use single quotes in the -s subject argument because of the forward slashes # 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 ===== WEB Based Email Clients ===== * There are a number of choices for web based e-mail clients, google is your friend * [[http://sourceforge.net/projects/neomail/ | NeoMail]] - uses movemail * [[http://squirrelmail.org/ | SquirrelMail]] - uses imap server