Benches macOS

3

SMTP won't start, how to fix

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Turning over a 10.4.11 server with mail, web, VPN and other services to fresh install and manual setup of 10.5.2... Small handful of users, all content was copied over using mailbfr after general setup of Mail Service on the server. The only problem is that SMTP will not start. Error as follows from the log:

Feb 24 14:45:05 web postfix/master[552]: fatal: file /etc/postfix/main.cf: parameter mail_owner: user postfix has same user ID as _postfix

repeatedly every ten seconds until it gives up trying to set up.

Any idea what this might be?

Postconf -n below if it helps

command_directory = /usr/sbin

config_directory = /etc/postfix

content_filter = smtp-amavis:[127.0.0.1]:10024

daemon_directory = /usr/libexec/postfix

debug
peerlevel = 2

enable
serveroptions = yes

hash
queuenames = deferred, defer active bounce flush incoming

html_directory = no

inet_interfaces = all

mail_owner = postfix

mailbox
sizelimit = 0

mailbox_transport = cyrus

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

maps
rbldomains =

message
sizelimit = 10485760

mydestination = $myhostname,localhost.$mydomain,localhost,wetzelandson.com,mail.wetzelandson.co m

mydomain = wetzelandson.com

mydomain_fallback = localhost

myhostname = mail.wetzelandson.com

mynetworks = 127.0.0.1/32,192.168.0.0/16

mynetworks_style = host

newaliases_path = /usr/bin/newaliases

queue_directory = /private/var/spool/postfix

readme_directory = /usr/share/doc/postfix

relayhost =

sample_directory = /usr/share/doc/postfix/examples

sendmail_path = /usr/sbin/sendmail

setgid_group = postdrop

smtpd
clientrestrictions = permit_mynetworks reject
rblclient zen.spamhaus.org permit

smtpd
pw_server_securityoptions = login,gssapi,cram-md5

smtpd
recipientrestrictions = permit
sasl_authenticated,permit_mynetworks,reject_unauthdestination,permit

smtpd
sasl_authenable = yes

smtpd
tls_certfile = /etc/certificates/Default.crt

smtpd
tls_keyfile = /etc/certificates/Default.key

smtpd
use_pwserver = yes

smtpd
usetls = yes

unknown
local_recipient_rejectcode = 550

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Erich Wetzel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If it matters, this machine is an open directory replica of a server which is not running mail.

    Another small detail, Server Admin asks for the "internet" name of this machine, that would be mail.wetzelandson.com, anything sent to that public address is port forwarded to this machine. On the private network it is actually on it is web.wetzelandson.com in the local DNS with mail.wetzelandson.com as an alias. I tried this set both ways. SMTP still did not startup. Just trying to think of anything that might impact this.

  2. 0

    Camelot

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Apple changed the preset usernames in Leopard so that the system accounts use names prefixed with an _.

    Unfortunately postfix wasn't aware of this change, and it's complaining about that fact. You're trying to run postfix as username 'postfix' whereas in Leopard it should run as username '_postfix'.

    The solution is trivial - edit /etc/postfix/main.cf and change the line:

    <pre class=command>mail_owner = postfix</pre>

    to:

    <pre class=command>mail_owner = _postfix</pre>

  3. 0

    Erich Wetzel

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Camelot,

    Thanks for the fast accurate answer. That was exactly the problem.

    I also needed to change the group "postdrop" to "_postdrop" in the main.cf file. Once that was done, everything ran as expected.