Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


gmail_on_linux_with_ssmtp

This is an old revision of the document!


Sending email on linux using SSMTP.

http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/

http://wiki.debian.org/sSMTP

http://www.terminally-incoherent.com/blog/2006/09/29/mutt-with-ssmtp/

Edit ~/.muttrc for each user as appropriate:

set sendmail="/usr/sbin/ssmtp"
#set from = $USER@$HOSTNAME
#set from = username@HOSTNAME_OR_ALIAS.domain
set realname="juckins@lightning"

If you get an error like "Cannot open mailhub:25" you need to add the problematic user to the "mail" group. See information on setting permissions here:

https://wiki.archlinux.org/index.php/SSMTP

gmail_on_linux_with_ssmtp.1357161507.txt.gz · Last modified: 2013/01/02 16:18 by juckins