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 at 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 at 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 at cyberfusion.nl ? submission_relay_host -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191211/f303f02e/attachment.html>
<!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>
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 at open-xchange.com> het volgende geschreven: > > >> On 12/12/2019 00:10 William Edwards <wedwards at 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 at 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 at 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 at cyberfusion.nl > > Due to design reasons, submission relaying to MTA occurs at backend, so move the relay configuration there. > --- > Aki Tuomi-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191212/54e7d5bd/attachment.html>