Wednesday, December 14, 2011

sSMTP di CentOS 6.0 (64 Bit) and Slackware 14.0

untuk melakukan instalasi sSMTP di CentOS lakukan dengan cara :
yum install ssmtp
setelah selesai instal, lakukan editing terhadap file configurasinya :
mcedit /etc/ssmtp/ssmtp.conf
dan isikan dengan
root=username@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=username@gmail.com
UseSTARTTLS=YES
AuthUser=username
AuthPass=password
FromLineOverride=YES
Testing
Create message.txt with and fill with
Subject: Message for you

Message text starts here.

and run ssmtp with bellow command and check your inbox :D
ssmtp diantokam@slackware.com < /tmp/ssmtp.txt

No comments: