I am setting up a new email server, and I am unable to connect to it with
Icedove, and postfix logs errors when I attempt to do so. I am using
postfix + dovecot + opendkim + spamassassin.

Systemd log:

May 17 15:28:22 gentooserver systemd[1]: Starting Postfix Mail Transport
Agent...
May 17 15:28:22 gentooserver postfix[119364]: Postfix is running with
backwards-compatible default settings
May 17 15:28:22 gentooserver postfix[119364]: See
http://www.postfix.org/COMPATIBILITY_README.html for details
May 17 15:28:22 gentooserver postfix[119364]: To disable backwards
compatibility use "postconf compatibility_level=2" and "postfix reload"
May 17 15:28:23 gentooserver postfix/master[119438]: daemon started --
version 3.5.8, configuration /etc/postfix
May 17 15:28:23 gentooserver systemd[1]: Started Postfix Mail Transport
Agent.
May 17 15:29:50 gentooserver postfix/smtpd[119496]: connect from
unknown[10.0.0.103]
May 17 15:29:50 gentooserver postfix/submission/smtpd[119495]: connect from
unknown[10.0.0.103]
May 17 15:29:50 gentooserver postfix/smtpd[119496]: fatal: host/service
localhost/12301 not found: No such file or directory
May 17 15:29:50 gentooserver postfix/submission/smtpd[119495]: fatal:
host/service localhost/12301 not found: No such file or directory
May 17 15:29:50 gentooserver postfix/smtpd[119499]: connect from
unknown[10.0.0.103]
May 17 15:29:50 gentooserver postfix/submission/smtpd[119500]: connect from
unknown[10.0.0.103]
May 17 15:29:50 gentooserver postfix/smtpd[119499]: fatal: host/service
localhost/12301 not found: No such file or directory
May 17 15:29:50 gentooserver postfix/submission/smtpd[119500]: fatal:
host/service localhost/12301 not found: No such file or directory
May 17 15:29:51 gentooserver postfix/master[119438]: warning: process
/usr/libexec/postfix/smtpd pid 119495 exit status 1
May 17 15:29:51 gentooserver postfix/master[119438]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
May 17 15:29:51 gentooserver postfix/master[119438]: warning: process
/usr/libexec/postfix/smtpd pid 119496 exit status 1
May 17 15:29:51 gentooserver postfix/master[119438]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
May 17 15:29:51 gentooserver postfix/master[119438]: warning: process
/usr/libexec/postfix/smtpd pid 119499 exit status 1
May 17 15:29:51 gentooserver postfix/master[119438]: warning: process
/usr/libexec/postfix/smtpd pid 119500 exit status 1


postconf -n:

command_directory = /usr/sbin
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
home_mailbox = Mail/Inbox/
html_directory = no
inet_protocols = ipv4
mail_owner = postfix
mailbox_command = /usr/lib/dovecot/deliver
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
meta_directory = /etc/postfix
milter_default_action = accept
milter_protocol = 6
myhostname = mail.gentooserver.dehnel.info
newaliases_path = /usr/bin/newaliases
non_smtpd_milters = inet:localhost:12301
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
shlib_directory = /usr/lib64/postfix/${mail_version}
smtp_tls_CAfile = /etc/ssl/apache2/cert.pem
smtp_tls_loglevel = 1
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_security_level = may
smtpd_milters = inet:localhost:12301
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/apache2/pfSense.fullchain
smtpd_tls_exclude_ciphers = aNULL, LOW, EXP, MEDIUM, ADH, AECDH, MD5, DSS,
ECDSA, CAMELLIA128, 3DES, CAMELLIA256, RSA+AES, eNULL
smtpd_tls_key_file = /etc/ssl/apache2/pfSense.key
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_security_level = may
tls_preempt_cipherlist = yes
unknown_local_recipient_reject_code = 550

postconf -Mf:

pickup     unix  n       -       n       60      1       pickup
cleanup    unix  n       -       n       -       0       cleanup
qmgr       unix  n       -       n       300     1       qmgr
tlsmgr     unix  -       -       n       1000?   1       tlsmgr
rewrite    unix  -       -       n       -       -       trivial-rewrite
bounce     unix  -       -       n       -       0       bounce
defer      unix  -       -       n       -       0       bounce
trace      unix  -       -       n       -       0       bounce
verify     unix  -       -       n       -       1       verify
flush      unix  n       -       n       1000?   0       flush
proxymap   unix  -       -       n       -       -       proxymap
proxywrite unix  -       -       n       -       1       proxymap
relay      unix  -       -       n       -       -       smtp
showq      unix  n       -       n       -       -       showq
error      unix  -       -       n       -       -       error
retry      unix  -       -       n       -       -       error
discard    unix  -       -       n       -       -       discard
local      unix  -       n       n       -       -       local
virtual    unix  -       n       n       -       -       virtual
lmtp       unix  -       -       n       -       -       lmtp
anvil      unix  -       -       n       -       1       anvil
scache     unix  -       -       n       -       1       scache
postlog    unix-dgram n  -       n       -       1       postlogd
smtp       unix  -       -       n       -       -       smtp
smtp       inet  n       -       y       -       -       smtpd
    -o content_filter=spamassassin
submission inet  n       -       y       -       -       smtpd
    -o syslog_name=postfix/submission
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_tls_auth_only=yes
smtps      inet  n       -       y       -       -       smtpd
    -o syslog_name=postfix/smtps
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
spamassassin unix -      n       n       -       -       pipe
user=debian-spamd
    argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender}
${recipient}

Reply via email to