<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 12/12/2019 00:10 William Edwards <wedwards@cyberfusion.nl> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div style="font-size: 13px;" dir="ltr" class="iw_mail">
<div>
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.
</div>
<div>
<br>
</div>
<div>
Expected behaviour: have messages sent to submission ports (25, 465) relayed to `submission_relay_host`.
<br>
</div>
<div>
<br>
</div>
<div>
--
</div>
<div>
root@imapproxy1:~# cat /etc/dovecot/conf.d/20-submission.conf
<br>submission_logout_format = in=%i out=%o
<br>submission_relay_host = smtp.prorelay.nl
<br>submission_relay_port = 587
<br>submission_relay_ssl = starttls
<br>submission_relay_ssl_verify = no
<br>
<br>service submission {
<br>}
<br>
<br>service submission-login {
<br>inet_listener submission_25 {
<br>port = 25
<br>
<br>}
<br>inet_listener submission_465 {
<br>port = 465
<br>ssl = yes
<br>
<br>}
<br>}
</div>
<div>
--
</div>
<div>
<br>
</div>
<div>
What happens instead: Dovecot is attempting to send mail to the host specified in the passdb file:
</div>
<div>
<br>
</div>
<div>
root@imapproxy1:~# cat /etc/virtual/xalys.nl/passwd
<br>test:$password.:8:8::/home/test.nl/test:/bin/false:userdb_quota_rule=*:bytes=0 proxy_maybe=y host=$ipaddr
</div>
<div>
<br>
</div>
<div>
How do I get Dovecot to relay mail sent to submission ports to 'submission_relay_host'?
</div>
<div class="iw-signature">
<div>
<br>
</div>
<div>
Met vriendelijke groeten,
</div>
<div>
<br>
</div>
<div>
William Edwards
</div>T. 040 - 711 44 96
<div>
E. wedwards@cyberfusion.nl
</div>
<div></div>
</div>
</div>
</blockquote>
<div>
<br>
</div>
<div>
Due to design reasons, submission relaying to MTA occurs at backend, so move the relay configuration there.
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>