I have a postfix server setup to accept outgoing mail from STMP authenticated clients. It has been working this way for many years with success for a large number of different e-mail clients. Recently, I got a Windows 8.1 based tablet computer and would like to use the Metro UI mail app that came with it. The IMAP client functionality of this app seems to work great, but I'm having difficulty getting it to send e-mail successfully. Mail submission takes place over SSL on TCP port 465.
I found some commentary on the web that perhaps some recent MS clients are picky about having LOGIN available as a SASL authenticaiton typs, so I enabled that, but no significant improvement.
Digging a little deeper, I enabled debug logging for the IP address that is attempting to send and extracted the following transcript from the logs:
> unknown[ip.add.re.ss]: 220 mail.my.domian ESMTP Postfix Mail Deamon
< unknown[ip.add.re.ss]: EHLO WINMJGRJQ83FFQ
> unknown[ip.add.re.ss]: 250-mail.my.domain
> unknown[ip.add.re.ss]: 250-PIPELINING
> unknown[ip.add.re.ss]: 250-SIZE 42428800
> unknown[ip.add.re.ss]: 250-ETRN
> unknown[ip.add.re.ss]: 250-AUTH PLAIN LOGIN
> unknown[ip.add.re.ss]: 250-AUTH=PLAIN LOGIN
> unknown[ip.add.re.ss]: 250-ENHANCEDSTATUSCODES
> unknown[ip.add.re.ss]: 250-8BITMIME
> unknown[ip.add.re.ss]: 250 DSN
< unknown[ip.add.re.ss]: AUTH LOGIN
> unknown[ip.add.re.ss]: 334 VXNlcm5hbWU6
< unknown[ip.add.re.ss]: --REDACTED--Base64Username
> unknown[ip.add.re.ss]: 334 UGFzc3dvcmQ6
< unknown[ip.add.re.ss]: --REDACTED--Base64Password
> unknown[ip.add.re.ss]: 235 2.7.0 Authentication successful
< unknown[ip.add.re.ss]: QUIT
> unknown[ip.add.re.ss]: 221 2.0.0 Bye
I'm fairly stumped at this point. I think that I can rule out SSL problems since the client has connected successfully and started the STMP session. It looks like the client and server have been able to agree on an authentication method and have in fact completed authenticaion successfully. The only thing remaining is why the Windows 8.1 mail client decided to respond to Authenticaiton successful with QUIT rather than MAIL FROM: like I would expect.