<div dir="ltr"><div dir="ltr"><div dir="ltr">After the submission with dovecot it sends it to postfix, the postfix log is:<div><br></div><div><div>postfix/submission/smtpd[19509]: connect from <a href="http://example.org">example.org</a>[192.168.1.1]</div><div>postfix/submission/smtpd[19509]: client=<a href="http://example.org">example.org</a>[192.168.1.1], sasl_method=PLAIN, sasl_username=<a href="mailto:test@example.org">test@example.org</a></div><div>postfix/submission/smtpd[19509]: <b>warning: non-SMTP command from <a href="http://example.org">example.org</a>[192.168.1.1]: Content-Transfer-Encoding: 7bit</b></div><div>postfix/submission/smtpd[19509]: disconnect from <a href="http://example.org">example.org</a>[192.168.1.1] ehlo=1 auth=1 mail=1 rcpt=1 unknown=0/2 commands=4/6</div><div>postfix/submission/smtpd[19509]: connect from <a href="http://example.org">example.org</a>[192.168.1.1]</div><div>postfix/submission/smtpd[19509]: client=<a href="http://example.org">example.org</a>[192.168.1.1], sasl_method=PLAIN, sasl_username=<a href="mailto:test@example.org">test@example.org</a></div><div>postfix/submission/smtpd[19509]: <b>warning: non-SMTP command from <a href="http://example.org">example.org</a>[192.168.1.1]: Content-Type: text/plain; charset=us-ascii</b></div><div>postfix/submission/smtpd[19509]: disconnect from <a href="http://example.org">example.org</a>[192.168.1.1] ehlo=1 auth=1 mail=1 rcpt=1 unknown=0/2 commands=4/6</div><div>postfix/submission/smtpd[18882]: <b>timeout after END-OF-MESSAGE from <a href="http://example.org">example.org</a>[192.168.1.1]</b></div><div>postfix/submission/smtpd[18882]: disconnect from <a href="http://example.org">example.org</a>[192.168.1.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 commands=5</div></div><div><br></div><div>As you can see it is a "non-SMTP command" given by Postfix.</div><div>Am guessing it has something to do with the placement of the mail content.</div><div>The outlook application is functional normally, i upgraded to 2.3.4 of Dovecot but still same result.</div><div><br></div><div>Not sure if it is a Dovecot issue or Postfix.. </div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 23, 2018 at 11:46 AM Stephan Bosch <<a href="mailto:stephan@rename-it.nl">stephan@rename-it.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Below, you have only the submission-login debug log (authentication). <br>
I'm more interested in what happens after that. You'll need to enable <br>
mail_debug=yes (at least for the user involved) to get that.<br>
<br>
Regards,<br>
<br>
Stephan.<br>
<br>
Op 18/12/2018 om 17:17 schreef Ruud Voorjans:<br>
> Postfix debug peer logging<br>
><br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: > <br>
> <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>>[XX.XX.XX.XX]: 250 2.1.5 Ok<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: watchdog_pat: <br>
> 0x55ef4ec020180<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: <br>
> vstream_fflush_some: fd 10 flush 28<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: <br>
> vstream_buf_get_ready: fd 10 got 15<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: < <br>
> <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>> [ XX.XX.XX.XX]: BDAT <br>
> 326 LAST<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: match_string: <br>
> smtpd_forbidden_commands: bdat ~? connect<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: match_string: <br>
> smtpd_forbidden_commands: bdat ~? get<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: match_string: <br>
> smtpd_forbidden_commands: bdat ~? post<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: <br>
> match_list_match: BDAT: no match<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: > <br>
> <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>> [ XX.XX.XX.XX] : 502 <br>
> 5.5.2 Error: command not recognized<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: watchdog_pat: <br>
> 0x55ef4ec020180<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: <br>
> vstream_fflush_some: fd 10 flush 41<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: <br>
> vstream_buf_get_ready: fd 10 got 326<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: < <br>
> <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>> [ XX.XX.XX.XX] : <br>
> Content-Type: text/plain; charset=us-ascii<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: warning: <br>
> non-SMTP command from <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>> <br>
> [ XX.XX.XX.XX] : Content-Type: text/plain; charset=us-ascii<br>
> Dec 18 17:08:11 mail postfix/submission/smtpd[10626]: > <br>
> <a href="http://server.example.org" rel="noreferrer" target="_blank">server.example.org</a> <<a href="http://server.example.org" rel="noreferrer" target="_blank">http://server.example.org</a>> [ XX.XX.XX.XX] ]: 221 <br>
> 2.7.0 Error: I can break rules, too. Goodbye.<br>
><br>
><br>
> Op di 18 dec. 2018 om 17:01 schreef Ruud Voorjans <br>
> <<a href="mailto:ruud.voorjans@gmail.com" target="_blank">ruud.voorjans@gmail.com</a> <mailto:<a href="mailto:ruud.voorjans@gmail.com" target="_blank">ruud.voorjans@gmail.com</a>>>:<br>
><br>
> doveconf -n output:<br>
> # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf<br>
> # Pigeonhole version 0.5.2 ()<br>
> # OS: Linux 4.18.0-12-generic x86_64 Ubuntu 18.10<br>
> # Hostname: <a href="http://mail.example.org" rel="noreferrer" target="_blank">mail.example.org</a> <<a href="http://mail.example.org" rel="noreferrer" target="_blank">http://mail.example.org</a>><br>
> auth_debug = yes<br>
> auth_debug_passwords = yes<br>
> auth_mechanisms = plain login<br>
> auth_verbose = yes<br>
> director_mail_servers = XX.XX.XX.XX<br>
> hostname = <a href="http://mail.example.org" rel="noreferrer" target="_blank">mail.example.org</a> <<a href="http://mail.example.org" rel="noreferrer" target="_blank">http://mail.example.org</a>><br>
> log_path = /var/log/dovecot.log<br>
> login_trusted_networks = XX.XX.XX.XX<br>
> mail_debug = yes<br>
> mail_location = mbox:~/mail:INBOX=/var/mail/%u<br>
> mail_privileged_group = mail<br>
> namespace inbox {<br>
> inbox = yes<br>
> location =<br>
> mailbox Drafts {<br>
> special_use = \Drafts<br>
> }<br>
> mailbox Junk {<br>
> special_use = \Junk<br>
> }<br>
> mailbox Sent {<br>
> special_use = \Sent<br>
> }<br>
> mailbox "Sent Messages" {<br>
> special_use = \Sent<br>
> }<br>
> mailbox Trash {<br>
> special_use = \Trash<br>
> }<br>
> prefix =<br>
> }<br>
> passdb {<br>
> args = proxy=y host=XX.XX.XX nopassword=y<br>
> driver = static<br>
> }<br>
> protocols = imap submission<br>
> service director {<br>
> fifo_listener login/proxy-notify {<br>
> mode = 0600<br>
> user = $default_login_user<br>
> }<br>
> inet_listener {<br>
> port = 9090<br>
> }<br>
> unix_listener director-userdb {<br>
> mode = 0600<br>
> }<br>
> unix_listener login/director {<br>
> mode = 0666<br>
> }<br>
> }<br>
> service imap-login {<br>
> executable = imap-login director<br>
> }<br>
> service submission-login {<br>
> executable = submission-login<br>
> }<br>
> ssl = required<br>
> ssl_cert = </etc/letsencrypt/live/<a href="http://mail.example.org/fullchain.pem" rel="noreferrer" target="_blank">mail.example.org/fullchain.pem</a><br>
> <<a href="http://mail.example.org/fullchain.pem" rel="noreferrer" target="_blank">http://mail.example.org/fullchain.pem</a>><br>
> ssl_cipher_list =<br>
> AES256+EECDH:AES256+EDH:ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5<br>
> ssl_dh = # hidden, use -P to show it<br>
> ssl_key = # hidden, use -P to show it<br>
> ssl_min_protocol = TLSv1.2<br>
> ssl_prefer_server_ciphers = yes<br>
> submission_relay_host = XX.XX.XX.XX<br>
> submission_relay_rawlog_dir = /var/log/dovecot.log<br>
> submission_relay_trusted = yes<br>
> verbose_ssl = yes<br>
><br>
><br>
> Logging:<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection created<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Received new command: EHLO [10.225.11.41]<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Submitted<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Ready to reply<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Completed<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection state reset<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Sent: <a href="http://250-mail.example.org" rel="noreferrer" target="_blank">250-mail.example.org</a><br>
> <<a href="http://250-mail.example.org" rel="noreferrer" target="_blank">http://250-mail.example.org</a>> 8BITMIME BURL imap CHUNKING<br>
> ENHANCEDSTATUSCODES SIZE STARTTLS PIPELINING<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Received new command: STARTTLS<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS: Next to reply<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS; 220 reply: Submitted<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS: Ready to reply<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS; 220 reply: Sent: 220 2.0.0 Begin TLS negotiation<br>
> now.<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Starting TLS<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection clear<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection state reset<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command STARTTLS; 220 reply: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x10, ret=1:<br>
> before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> before SSL initialization<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS read client hello<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write server hello<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write certificate<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write server done<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002,<br>
> ret=-1: SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS read client key exchange<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS read change cipher spec<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS read finished<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write change cipher spec<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2001, ret=1:<br>
> SSLv3/TLS write finished<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x20, ret=1:<br>
> SSL negotiation finished successfully<br>
> Dec 18 16:36:39 submission-login: Debug: SSL: where=0x2002, ret=1:<br>
> SSL negotiation finished successfully<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Received new command: EHLO [XX.XX.XX.XX]<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Submitted<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Ready to reply<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Completed<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection state reset<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Sent: <a href="http://250-mail.example.org" rel="noreferrer" target="_blank">250-mail.example.org</a><br>
> <<a href="http://250-mail.example.org" rel="noreferrer" target="_blank">http://250-mail.example.org</a>> 8BITMIME AUTH PLAIN LOGIN BURL imap<br>
> CHUNKING ENHANCEDSTATUSCODES SIZE PIPELINING<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command EHLO; 250 reply: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> No more commands pending<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Received new command: AUTH PLAIN<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH: Next to reply<br>
> Dec 18 16:36:39 auth: Debug: client in: AUTH 1 PLAIN <br>
> service=submission secured=tls session= <br>
> lip=XX.XX.XX.XX rip=XX.XX.XX.XX lport=587 <br>
> rport=49679 local_name=<a href="http://mail.example.org" rel="noreferrer" target="_blank">mail.example.org</a><br>
> <<a href="http://mail.example.org" rel="noreferrer" target="_blank">http://mail.example.org</a>> ssl_cipher=ECDHE-RSA-AES256-GCM-SHA384<br>
> ssl_cipher_bits=256 ssl_pfs= ssl_protocol=TLSv1.2 resp=<br>
> (previous base64 data may contain sensitive data)<br>
> Dec 18 16:36:39 auth: Debug: static(): lookup<br>
> Dec 18 16:36:39 auth: Debug: static(): Allowing any password<br>
> Dec 18 16:36:39 auth: Debug: client passdb out: OK 1 <br>
> user= proxy host= XX.XX.XX.XX pass=<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH; 235 reply: Submitted<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH: Ready to reply<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Trigger output<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Sending replies<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH: Completed<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH; 235 reply: Sent: 235 2.7.0 Authentication successful<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH: Destroy<br>
> Dec 18 16:36:39 submission-login: Info: proxy( ): started<br>
> proxying to XX.XX.XX.XX:587: user=< >, method=PLAIN,<br>
> rip=XX.XX.XX.XX, lip=XX.XX.XX.XX, TLS, session=<><br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Disconnected: Connection closed<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> command AUTH; 235 reply: Destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection destroy<br>
> Dec 18 16:36:39 submission-login: Debug: smtp-server: conn [0]:<br>
> Connection state reset<br>
> Dec 18 16:36:40 submission-login: Info: proxy( ): disconnecting<br>
> XX.XX.XX.XX (Disconnected by server(0s idle, in=533, out=295)):<br>
> user=< >, method=PLAIN, rip=XX.XX.XX.XX, lip=XX.XX.XX.XX, TLS,<br>
> session=<><br>
> Dec 18 16:36:40 submission-login: Debug: SSL alert: close notify<br>
><br>
><br>
> Op di 18 dec. 2018 om 07:18 schreef Aki Tuomi<br>
> <<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a> <mailto:<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>>>:<br>
><br>
><br>
>> On 18 December 2018 at 02:30 Adi Pircalabu via dovecot <<br>
>> <a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a> <mailto:<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>>> wrote:<br>
>><br>
>><br>
>> On 2018-12-18 07:33, Ruud Voorjans wrote:<br>
>>> Dear all,<br>
>>><br>
>>> I'm running dovecot # 2.3.2.1 - Pigeonhole version 0.5.2 ()<br>
>>> - OS:<br>
>>> Linux 4.18.0-12-generic x86_64 Ubuntu 18.10 with Submission.<br>
>>> It works great except with apple mail (Iphone).<br>
>>><br>
>>> I get an error with the MTA (postfix):<br>
>>> ""postfix/submission/smtpd[32552]: warning: non-SMTP command<br>
>>> from<br>
>>> <a href="http://mail.example.org" rel="noreferrer" target="_blank">mail.example.org</a> <<a href="http://mail.example.org" rel="noreferrer" target="_blank">http://mail.example.org</a>> [1][xx.xx.xx.xx]:<br>
>>> Content-Transfer-Encoding: 7bit""<br>
>>><br>
>>> with other mail-client(s) (Outlook (Desktop and Iphone app))<br>
>>> i have no<br>
>>> problem and it proxy-sends the e-mail beautiful out to the<br>
>>> recipient.<br>
>> Hardly anything to do with Dovecot. When it comes to email<br>
>> clients Apple<br>
>> Mail has been and is still one of the worst flops (no offence<br>
>> intended,<br>
>> just my opinion based on personal experience). If you can<br>
>> reliably<br>
>> reproduce it, try and log the raw SMTP conversation between<br>
>> Postfix and<br>
>> the client by enabling per IP debugging in Postfix:<br>
>> postconf -e "debug_peer_level = 20"<br>
>> postconf -e "debug_peer_list = xx.xx.xx.xx"<br>
>> postfix reload<br>
>> where xx.xx.xx.xx is the unlucky client IP address.<br>
>><br>
>> Possibly some crappy SMTP PIPELINING implementation at the<br>
>> Apple end,<br>
>> who knows.<br>
>><br>
>> -- <br>
>> Adi Pircalabu<br>
><br>
> It's not unconceivable that there are bugs in submission<br>
> either. Can you provide doveconf -n and submission rawlogs?<br>
> See <a href="https://wiki.dovecot.org/Submission" rel="noreferrer" target="_blank">https://wiki.dovecot.org/Submission</a> for settings.<br>
><br>
> ---<br>
> Aki Tuomi<br>
><br>
</blockquote></div>