Thursday 31 Jan 2013

Thursday 31 Jan 2013

heirloom-mailx

mailx

account gmail { set smtp-use-starttls set smtp=smtp://smtp.gmail.com:587 set smtp-auth=login set smtp-auth-user=tlinux.tsai@gmail.com set smtp-auth-password= set from="tlinux.tsai@gmail.com"

}

account narl { set smtp=smtps://mail.nchc.narl.org.tw:465 set smtp-auth=login set smtp-auth-user=0603106@nchc.narl.org.tw set smtp-auth-password= set from="thomas at nchc.org.tw" }

single account: mailrc: set smtp=smtps://mail.nchc.narl.org.tw:465 set smtp-auth=login set smtp-auth-user=0603106@nchc.narl.org.tw set smtp-auth-password= set from="thomas at nchc.org.tw"

echo "this is a test" | mail -A narl -v -s "test" tlinux.tsai@gmail.com

Comments