ssmtp simple smtp server

by bouleetbil 27. mars 2011 16:09

You would install a smtp server quickly. If your FAI accept the relay or you have an other smtp server in other server install ssmtp :

# pacman-g2 -Sy ssmtp

Edit /etc/ssmtp/ssmtp.conf :

MinUserId=99
FromLineOverride=YES
# The full hostname
mailhub=A smtp server smtp.XXX
rewriteDomain=1and1.fr by exemple
hostname=localhost
AuthUser=your adress mail
AuthPass=the password

For securise it a little

# chmod 640 ssmtp.conf

It's simple and that work now php, mono... can use it. It provide a sendmail bin:D

Tags:

Frugalware | Linux

Commentaires