I am running a fresh installation of macOS 10.12.1 with Server app 5.2.
With or without mail service activate, i am unable to use postfix in command line. I am always getting this error when i try to reload postfix:
postfix/postfix-script: fatal: the Postfix mail system is not running
When i do postconf -n i have this:
remote:log root# postconf -n
biff = no
command_directory = /usr/sbin
compatibility_level = 2
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = /usr/share/doc/postfix/html
inet_protocols = all
mail_owner = _postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10485760
mynetworks = 127.0.0.0/8, [::1]/128
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
server_config_directory = /Library/Server/Mail/Config/postfix
setgid_group = _postdrop
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_tls_ciphers = medium
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
UPDATE1:
I have also done postfix start, and i got this:
postfix/postfix-script: starting the Postfix mail system
postfix/postfix-script: fatal: mail system startup failed
And i am still able to telnet at localhost in port 25, 587, 110 and 995.
Anyone knows?