Hello All,
I'm attempting to configure Postfix 3.3 on a freshly-installed Ubuntu 18.04 LTS
system. The system will do nothing more than relay mail (for status and
summary e-mails) to my main mail server. The same configuration works using
Postfix 3.1. What am I missing? Thank you for your time and assistance.
The contents of postconf -n:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 3
inet_interfaces = loopback-only
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = localhost.localdomain, localhost
myhostname = cuddy.example.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [smtp.example.com]:submission
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = plain, login
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous, noplaintext
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level = encrypt
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
The contents of postconf -Mf:
smtp inet n - y - - smtpd
pickup unix n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr unix - - y 1000? 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
verify unix - - y - 1 verify
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
-o syslog_name=postfix/$service_name
showq unix n - y - - showq
error unix - - y - - error
retry unix - - y - - error
discard unix - - y - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
anvil unix - - y - 1 anvil
scache unix - - y - 1 scache
The contents of /etc/aliases:
# See man 5 aliases for format
postmaster: root
root: [email protected]
When executing 'netstat -plunt|mail root', I receive the following response:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
BF2B5131B8 3116 Mon Sep 24 11:10:44 me@cuddy
(host smtp.example.com[00.000.00.000] said: 450 4.1.8 <me@cuddy>: Sender
address rejected: Domain not found (in reply to RCPT TO command)) me@cuddy
--
Gary Chambers