Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Throttling respawn loop?

Hi,


I just had a look at my Server System log and I seem to have an issue as I am getting the same repeating entries:


Aug 4 11:45:11 discussion postfix/master[92044]: fatal: bind: private/smtpd: Invalid argument

Aug 4 11:45:12 discussion com.apple.launchd[1] (org.postfix.master[92044]): Exited with code: 1

Aug 4 11:45:12 discussion com.apple.launchd[1] (org.postfix.master): Throttling respawn: Will start in 9 seconds

Aug 4 11:45:21 discussion postfix/master[92047]: fatal: bind: private/smtpd: Invalid argument

Aug 4 11:45:22 discussion com.apple.launchd[1] (org.postfix.master[92047]): Exited with code: 1

Aug 4 11:45:22 discussion com.apple.launchd[1] (org.postfix.master): Throttling respawn: Will start in 9 seconds

Aug 4 11:45:31 discussion postfix/master[92049]: fatal: bind: private/smtpd: Invalid argument

Aug 4 11:45:32 discussion com.apple.launchd[1] (org.postfix.master[92049]): Exited with code: 1

Aug 4 11:45:32 discussion com.apple.launchd[1] (org.postfix.master): Throttling respawn: Will start in 9 seconds



I have a new Mac Pro with 10.7.4 OS X Server installed.


Is the above anything to worry about?


Thanks

Posted on Aug 4, 2012 3:48 AM

Reply
42 replies

Aug 4, 2012 5:01 AM in response to jaydisc

I do not run use mail servces, but I do have a Simple Machine Forum on my server. What does the loop actually mean? Do I need to contact Apple Support about this?


I don't often delve into Terminal, but here is what I get with postconf -n


biff = no

command_directory = /usr/sbin

config_directory = /etc/postfix

content_filter = smtp-amavis:[127.0.0.1]:10024

daemon_directory = /usr/libexec/postfix

data_directory = /Library/Server/Mail/Data/mta

debug_peer_level = 2

enable_server_options = yes

header_checks = pcre:/etc/postfix/custom_header_checks

html_directory = /usr/share/doc/postfix/html

imap_submit_cred_file = /private/etc/postfix/submit.cred

inet_interfaces = loopback-only

inet_protocols = all

mail_owner = _postfix

mailbox_size_limit = 0

mailbox_transport = dovecot

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

message_size_limit = 10485760

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

mydomain = pharmweb.net

mydomain_fallback = localhost

mynetworks = 127.0.0.0/8, [::1]/128

newaliases_path = /usr/bin/newaliases

queue_directory = /Library/Server/Mail/Data/spool

readme_directory = /usr/share/doc/postfix

recipient_canonical_maps = hash:/etc/postfix/system_user_maps

recipient_delimiter = +

relayhost =

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

sendmail_path = /usr/sbin/sendmail

setgid_group = _postdrop

smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit

smtpd_enforce_tls = no

smtpd_helo_required = yes

smtpd_helo_restrictions = reject_invalid_helo_hostname

smtpd_pw_server_security_options = cram-md5

smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit

smtpd_sasl_auth_enable = yes

smtpd_tls_CAfile = /etc/certificates/discussion.pharmweb.net.6920566F585596F589FB47B4756EF0B954B44 DA7.chain.pem

smtpd_tls_cert_file = /etc/certificates/discussion.pharmweb.net.6920566F585596F589FB47B4756EF0B954B44 DA7.cert.pem

smtpd_tls_ciphers = medium

smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL

smtpd_tls_key_file = /etc/certificates/discussion.pharmweb.net.6920566F585596F589FB47B4756EF0B954B44 DA7.key.pem

smtpd_use_pw_server = yes

smtpd_use_tls = yes

tls_random_source = dev:/dev/urandom

unknown_local_recipient_reject_code = 550

use_sacl_cache = yes

virtual_alias_maps = $virtual_maps

Aug 4, 2012 5:09 AM in response to Antony-D-Emanuele

Launchd, the process that manages all processes is basically looping continuously trying to start postfix. I think postfix needs to run even without mail services. However, there is something wrong with Postfix's configuration which is causing it to fail startup (fatal: bind: private/smtpd: Invalid argument), so launchd is continuously trying to respawn it.


I don't immediately see what the issue is in that config.


Try:


sudo postfix check


That should tell postfix to verify its configuration. See what that reveals.


Have you modified anything in /etc/postfix?

Aug 4, 2012 5:20 AM in response to jaydisc

discussion:~ tony$ ls -la /Library/Server/Mail/Data/

total 0

drwxr-xr-x+ 6 root wheel 204 Feb 21 02:21 .

drwxr-xr-x+ 3 root wheel 102 Nov 29 2011 ..

drwxrwxr-x+ 2 _dovecot mail 68 Nov 29 2011 mail

drwxrwx---+ 3 _postfix mail 102 Feb 21 02:27 mta

drwxrwxr-x+ 2 _dovecot mail 68 Nov 29 2011 rules

drwxr-xr-x+ 16 root wheel 544 Aug 5 2011 spool

discussion:~ tony$

Aug 4, 2012 5:23 AM in response to jaydisc

discussion:~ tony$ ls -lae /Library/Server/Mail/Data/

total 0

drwxr-xr-x+ 6 root wheel 204 Feb 21 02:21 .

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

drwxr-xr-x+ 3 root wheel 102 Nov 29 2011 ..

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

drwxrwxr-x+ 2 _dovecot mail 68 Nov 29 2011 mail

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

drwxrwx---+ 3 _postfix mail 102 Feb 21 02:27 mta

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

drwxrwxr-x+ 2 _dovecot mail 68 Nov 29 2011 rules

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

drwxr-xr-x+ 16 root wheel 544 Aug 5 2011 spool

0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit

1: user:tony inherited allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit

discussion:~ tony$

Throttling respawn loop?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.