User Tools

Site Tools


system:install_guides:postfix

1. sudo yum install postfix spamassassin (spamassassin is optional and not covered here)
2. sudo vi /etc/postfix/main.conf
uncomment the following line:

default_privs = nobody

change the following lines

myhostname = sf-lug.com
mydomain = sf-lug.com
myorigin = $mydomain

(make sure smtp listens on all interfaces (eth0, lo0…)

inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost

(deny mail from other hosts -check me!)

mynetworks_style = host
 mail_spool_directory = /var/spool/mail

3. Change the following in /etc/hosts so mail will come from the right domain (sf-lug.com)

127.0.0.1               sf-lug.com localhost
system/install_guides/postfix.txt · Last modified: 2007-03-20T18:48:15+0000 by 69.17.44.81

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki