[Cialug] postfix on Ubuntu

L. V. Lammert lvl at omnitec.net
Fri Jan 27 21:16:31 UTC 2023


> Could be lots of reasons. Are you running postfix chroot? Then there may
> be a different copy of main.cf, if you edit the wrong one with vi it may
> break the links and you'll not get the expected behavior.
>
> -dc
>
Doesn't seem to be the case?

$locate main.cf
/etc/postfix/main.cf
/etc/postfix/main.cf.proto
/etc/postfix/main.cf.unknownhostname
/usr/share/postfix/main.cf.debian
/usr/share/postfix/main.cf.dist
/usr/share/postfix/main.cf.tls

myhostname IS set correctly in main.cf:

$postconf | grep myhostname
lmtp_lhlo_name = $myhostname
milter_macro_daemon_name = $myhostname
myhostname = snowman.winningtech.com
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_proxy_ehlo = $myhostname

Identical to the working installance on Ubuntu 14:

$postconf | grep myhostname
lmtp_lhlo_name = $myhostname
milter_macro_daemon_name = $myhostname
myhostname = bandit.winningtech.com
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_proxy_ehlo = $myhostname

The only difference that shows is v3.1 vs. v3.3:

Working:

$postconf mail_version
mail_version = 3.1.0

Not working:

$postconf mail_version
mail_version = 3.3.0



More information about the Cialug mailing list