I see. Which config setting should be used to change the port and encryption Dovecot proxy attempts to talk SMTP to? The default seems to be port 587 with STARTTLS, but the docs don’t seem to mention how to change that.
Sent from mobile
Op 12 dec. 2019 om 02:17 heeft Aki Tuomi <aki.tuomi@open-xchange.com> het volgende geschreven:
On 12/12/2019 00:10 William Edwards <wedwards@cyberfusion.nl> wrote:
I'm having trouble setting up submission with Dovecot proxy. The submission config seems to be getting ignored, but I'm probably doing something wrong.
Expected behaviour: have messages sent to submission ports (25, 465) relayed to
submission_relay_host
.-- root@imapproxy1:~# cat /etc/dovecot/conf.d/20-submission.conf submission_logout_format = in=%i out=%o submission_relay_host = smtp.prorelay.nl submission_relay_port = 587 submission_relay_ssl = starttls submission_relay_ssl_verify = no
service submission { }
service submission-login { inet_listener submission_25 { port = 25
} inet_listener submission_465 { port = 465 ssl = yes
} }
What happens instead: Dovecot is attempting to send mail to the host specified in the passdb file:
root@imapproxy1:~# cat /etc/virtual/xalys.nl/passwd test:$password.:8:8::/home/test.nl/test:/bin/false:userdb_quota_rule=*:bytes=0 proxy_maybe=y host=$ipaddr
How do I get Dovecot to relay mail sent to submission ports to 'submission_relay_host'?
Met vriendelijke groeten,
William Edwards T. 040 - 711 44 96 E. wedwards@cyberfusion.nl
Due to design reasons, submission relaying to MTA occurs at backend, so move the relay configuration there.
Aki Tuomi