|
Literature
Africa |
MailConfigPostfix Configuration for a Linux PC. See also http://www.postfix.org/STANDARD_CONFIGURATION_README.html /etc/postfix/main.cf# only for local clients - mostly cron jobs inet_interfaces = localhost # local delivery mydestination = $myhostname, localhost.$mydomain, localhost myorigin = $myhostname masquerade_domains = src.wits.ac.za # relay without slow DNS lookups relayhost = [schonlan.src.wits.ac.za] # do not modify the rest of main.cf Using sSMTP instead of sendmailon the clients, to make a simpler setup, and no running daemon. sudo yum install -y ssmtp sudo perl -i -p -e 's/^mailhub.*$/mailhub=psi/' /etc/ssmtp/ssmtp.conf sudo rpm -e sendmail On the psi server, change Postfix's mydestination = $myhostname, localhost.$mydomain, localhost, regexp:/etc/postfix/mydestinations and /.*\.local/ localhost |