Install paclink-unix
- Configure a single MTA
This is an old revision of the document!
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
apt-get install mutt
apt-get install mailutils
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}
# 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
mutt -s "//WL2K R/ Test msg" callsign>@winlink.org < mail_message_file_name
mutt -s "//WL2K R/ Test msg" -a /tmp/file.tar.gz you@cyberciti.biz < /tmp/mailmessage.txt
mutt -s “//WL2K R/ Test msg” -a attach1 -a attach2 -a attach3 vivek@nixcraft.co.in < /tmp/mailmessage.txt
mutt -s “//WL2K R/” kg6geu@winlink.org, ke7kro@winlink.org < /tmp/mailmessage.txt
# 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
# 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