I have: ~/.netrc: machine smtp.fastmail.com login '[email protected]' password blah
(I also had pop.fastmail.com, and I didn't clue in that I had to say it twice) (Note "submission" not "submissions". It has to use STARTTLS, or there is no SASL) [email protected]: -tls -user [email protected] -sasl -server smtp.fastmail.com -port submission given: obiwan-[~](3.3.8) mcr 10026 %cat Mail/drafts/52 FCC: +outgoing From: Michael Richardson <[email protected]> To: [email protected] Subject: hello MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <[email protected]> This is a test. obiwan-[~](3.3.8) mcr 10027 %send -snoop drafts/52 Trying to connect to "smtp.fastmail.com" ... Connecting to 103.168.172.60:587 <= 220 smtp.fastmail.com ESMTP ready => EHLO obiwan.sandelman.ca <= 250-smtp.fastmail.com <= 250-PIPELINING <= 250-SIZE 71000000 <= 250-ENHANCEDSTATUSCODES <= 250-8BITMIME <= 250 STARTTLS => STARTTLS <= 220 2.0.0 Start TLS TLS negotiation successful: TLS_AES_256_GCM_SHA384(256) TLSv1.3 SSL-Session: Protocol : TLSv1.3 Cipher : TLS_AES_256_GCM_SHA384 Session-ID: Session-ID-ctx: Resumption PSK: PSK identity: None PSK identity hint: None SRP username: None Start Time: 1760820387 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: no Max Early Data: 0 (tls-encrypted) => EHLO obiwan.sandelman.ca (tls-decrypted) <= 250-smtp.fastmail.com (tls-decrypted) <= 250-PIPELINING (tls-decrypted) <= 250-SIZE 71000000 (tls-decrypted) <= 250-ENHANCEDSTATUSCODES (tls-decrypted) <= 250-8BITMIME (tls-decrypted) <= 250 AUTH PLAIN LOGIN XOAUTH2 OAUTHBEARER SASL mechanisms supported by server: PLAIN LOGIN XOAUTH2 OAUTHBEARER No SASL mech selected, will pick the best mech supported by SASL library Client supported SASL mechanisms: SCRAM-SHA-512 SCRAM-SHA-384 SCRAM-SHA-256 SCRAM-SHA-224 SCRAM-SHA-1 DIGEST-MD5 EXTERNAL CRAM-MD5 NTLM LOGIN PLAIN ANONYMOUS SASL security layers disabled due to the use of TLS Chosen sasl mechanism: LOGIN (tls-encrypted) => AUTH LOGIN (tls-decrypted) <= 334 b64<Username:> (tls-encrypted) => b64<[email protected]> (tls-decrypted) <= 334 b64<Password:> (tls-encrypted) => b64<NOTHERE> (tls-decrypted) <= 235 2.0.0 OK SASL Security layer NOT negotiated, SASL will NOT perform encryption Encryption will be handled by TLS (tls-encrypted) => MAIL FROM:<[email protected]> (tls-decrypted) <= 250 2.1.0 Ok (tls-encrypted) => RCPT TO:<[email protected]> (tls-decrypted) <= 250 2.1.5 Ok (tls-encrypted) => DATA (tls-decrypted) <= 354 End data with <CR><LF>.<CR><LF> (tls-encrypted) => . (tls-decrypted) <= 250 2.0.0 Ok: queued as 618041400079 ti_phl-compute-04_3652087_1760820388_8 via phl-compute-04 (tls-encrypted) => QUIT (tls-decrypted) <= 221 2.0.0 Bye obiwan-[~](3.3.8) mcr 10028 % -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | IoT architect [ ] [email protected] http://www.sandelman.ca/ | ruby on rails [ ��������
