Hi, I'm trying to configure DKIM but I receive "pony express: smtpd:
bind: Cannot assign requested address". dkimproxy is running:
$ netstat -antop | grep 10027
tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN
11621/perl off (0.00/0/0)
smtpd.conf:
table aliases file:/etc/mail/aliases
table domains file:/etc/mail/domains
table passwd passwd:/etc/mail/passwd
table users file:/etc/mail/users
table secrets file:/etc/mail/secrets
pki ${cubevar_app_email_host} certificate
"/etc/letsencrypt/live/${cubevar_app_email_host}/fullchain.pem"
pki ${cubevar_app_email_host} key
"/etc/letsencrypt/live/${cubevar_app_email_host}/privkey.pem"
listen on lo port 25 tls pki ${cubevar_app_email_host} auth-optional
<passwd>
listen on eth0 port 25 tls pki ${cubevar_app_email_host} auth-optional
<passwd>
listen on lo port 587 tls-require pki ${cubevar_app_email_host} auth
<passwd>
listen on eth0 port 587 tls-require pki ${cubevar_app_email_host} auth
<passwd>
listen on lo0 port 10028 tag DKIM
accept from local for local alias <aliases> deliver to lmtp
"/run/dovecot/lmtp" rcpt-to
accept from any for domain <domains> virtual <users> deliver to lmtp
"/run/dovecot/lmtp" rcpt-to
accept from local for any relay via smtp://127.0.0.1:10027
accept tagged DKIM for any relay via tls+auth://[email protected]
auth <secrets>
Nothing on 10028:
$ netstat -antop | grep 10028
$
smtpd -v output:
systemd[1]: Starting OpenSMTPD mail daemon...
smtpd[21200]: debug: init ssl-tree
smtpd[21200]: info: loading pki information for db5.myplaceonline.com
smtpd[21200]: debug: init ca-tree
smtpd[21200]: debug: init ssl-tree
smtpd[21200]: info: loading pki keys for db5.myplaceonline.com
smtpd[21200]: debug: using "fs" queue backend
smtpd[21200]: debug: using "ramqueue" scheduler backend
smtpd[21200]: debug: using "ram" stat backend
smtpd[21200]: info: OpenSMTPD 201702130941p1 starting
systemd[1]: Started OpenSMTPD mail daemon.
smtpd[21204]: debug: init ssl-tree
smtpd[21204]: info: loading pki information for db5.myplaceonline.com
smtpd[21207]: debug: init ssl-tree
smtpd[21207]: info: loading pki information for db5.myplaceonline.com
smtpd[21207]: debug: init ca-tree
smtpd[21207]: debug: init ssl-tree
smtpd[21207]: info: loading pki keys for db5.myplaceonline.com
smtpd[21207]: debug: using "fs" queue backend
smtpd[21207]: debug: using "ramqueue" scheduler backend
smtpd[21207]: debug: using "ram" stat backend
smtpd[21207]: setup_peer: scheduler -> control[21203] fd=5
smtpd[21207]: setup_peer: scheduler -> queue[21206] fd=6
smtpd[21204]: debug: init ca-tree
smtpd[21204]: debug: init ssl-tree
smtpd[21204]: info: loading pki keys for db5.myplaceonline.com
smtpd[21204]: debug: using "fs" queue backend
smtpd[21204]: debug: using "ramqueue" scheduler backend
smtpd[21204]: debug: using "ram" stat backend
smtpd[21204]: setup_peer: lookup -> control[21203] fd=5
smtpd[21204]: setup_peer: lookup -> pony express[21205] fd=6
smtpd[21204]: setup_peer: lookup -> queue[21206] fd=7
smtpd[21202]: debug: init ssl-tree
smtpd[21202]: info: loading pki information for db5.myplaceonline.com
smtpd[21202]: debug: init ca-tree
smtpd[21202]: debug: init ssl-tree
smtpd[21202]: info: loading pki keys for db5.myplaceonline.com
smtpd[21202]: debug: using "fs" queue backend
smtpd[21202]: debug: using "ramqueue" scheduler backend
smtpd[21202]: debug: using "ram" stat backend
smtpd[21202]: setup_peer: klondike -> control[21203] fd=5
smtpd[21202]: setup_peer: klondike -> pony express[21205] fd=6
smtpd[21201]: setup_done: ca[21202] done
smtpd[21202]: setup_proc: klondike done
smtpd[21203]: debug: init ssl-tree
smtpd[21203]: info: loading pki information for db5.myplaceonline.com
smtpd[21203]: debug: init ca-tree
smtpd[21203]: debug: init ssl-tree
smtpd[21203]: info: loading pki keys for db5.myplaceonline.com
smtpd[21203]: debug: using "fs" queue backend
smtpd[21203]: debug: using "ramqueue" scheduler backend
smtpd[21203]: debug: using "ram" stat backend
smtpd[21203]: setup_peer: control -> klondike[21202] fd=5
smtpd[21203]: setup_peer: control -> lookup[21204] fd=6
smtpd[21203]: setup_peer: control -> pony express[21205] fd=7
smtpd[21203]: setup_peer: control -> queue[21206] fd=8
smtpd[21203]: setup_peer: control -> scheduler[21207] fd=9
smtpd[21201]: setup_done: control[21203] done
smtpd[21204]: setup_proc: lookup done
smtpd[21201]: setup_done: lka[21204] done
smtpd[21203]: setup_proc: control done
systemd[1]: opensmtpd.service: Main process exited, code=exited,
status=1/FAILURE
smtpd[21205]: debug: init ssl-tree
smtpd[21205]: info: loading pki information for db5.myplaceonline.com
smtpd[21205]: debug: init ca-tree
smtpd[21205]: debug: init ssl-tree
smtpd[21205]: info: loading pki keys for db5.myplaceonline.com
smtpd[21205]: debug: using "fs" queue backend
smtpd[21205]: debug: using "ramqueue" scheduler backend
smtpd[21205]: debug: using "ram" stat backend
smtpd[21205]: setup_peer: pony express -> control[21203] fd=5
smtpd[21206]: debug: init ssl-tree
smtpd[21206]: info: loading pki information for db5.myplaceonline.com
smtpd[21206]: debug: init ca-tree
smtpd[21206]: debug: init ssl-tree
smtpd[21206]: info: loading pki keys for db5.myplaceonline.com
smtpd[21206]: debug: using "fs" queue backend
smtpd[21206]: debug: using "ramqueue" scheduler backend
smtpd[21206]: debug: using "ram" stat backend
smtpd[21206]: setup_peer: queue -> control[21203] fd=5
smtpd[21206]: setup_peer: queue -> pony express[21205] fd=6
smtpd[21206]: setup_peer: queue -> lookup[21204] fd=7
smtpd[21205]: setup_peer: pony express -> klondike[21202] fd=6
smtpd[21205]: setup_peer: pony express -> lookup[21204] fd=7
smtpd[21205]: setup_peer: pony express -> queue[21206] fd=8
smtpd[21205]: setup_proc: pony express done
smtpd[21201]: setup_done: pony[21205] done
smtpd[21206]: setup_peer: queue -> scheduler[21207] fd=8
smtpd[21206]: setup_proc: queue done
smtpd[21201]: setup_done: queue[21206] done
systemd[1]: opensmtpd.service: Unit entered failed state.
smtpd[21207]: setup_proc: scheduler done
systemd[1]: opensmtpd.service: Failed with result 'exit-code'.
smtpd[21207]: debug: bounce warning after 4h
smtpd[21201]: setup_done: scheduler[21207] done
smtpd[21201]: smtpd: setup done
smtpd[21205]: pony express: smtpd: bind: Cannot assign requested address
smtpd[21201]: debug: parent_send_config_ruleset: reloading
smtpd[21201]: debug: parent_send_config: configuring pony process
smtpd[21201]: debug: parent_send_config: configuring ca process
smtpd[21202]: debug: init private ssl-tree
smtpd[21203]: debug: control -> pony express: pipe closed
smtpd[21203]: debug: control agent exiting
smtpd[21206]: debug: queue -> pony express: pipe closed
smtpd[21207]: debug: scheduler -> control: pipe closed
smtpd[21207]: debug: scheduler agent exiting
smtpd[21202]: debug: ca -> control: pipe closed
smtpd[21202]: debug: ca agent exiting
smtpd[21206]: debug: queue agent exiting
smtpd[21201]: warn: parent -> pony: imsg_read: Connection reset by peer
smtpd[21201]: smtpd: exiting: Connection reset by peer
smtpd[21204]: debug: lka -> control: pipe closed
smtpd[21204]: debug: lookup agent exiting
Linux 4.12.13-200.fc25.x86_64
--
Kevin
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]