Some commit recently broke my 'post' command's ability to find the
SASL password needed to authenticate to our mail server. I'd do a git bisect
to track it down further, but 'git log' hints there's intermediate broken
states.
After 'git checkout a431fb0f788cf93c9d93c3ad268fa0813e1bf2ef' (the last commit
before 'credential' support was added, I get this trying to post mail. PW
redacted.
(tls-encrypted) => EHLO turing-police.cc.vt.edu
(tls-decrypted) <= 250-auth3.smtp.vt.edu Hello turing-police.cc.vt.edu
[128.173.14.107], pleased to meet you
(tls-decrypted) <= 250-ENHANCEDSTATUSCODES
(tls-decrypted) <= 250-PIPELINING
(tls-decrypted) <= 250-8BITMIME
(tls-decrypted) <= 250-SIZE 26210000
(tls-decrypted) <= 250-DSN
(tls-decrypted) <= 250-AUTH LOGIN PLAIN
(tls-decrypted) <= 250-DELIVERBY
(tls-decrypted) <= 250 HELP
(tls-encrypted) => AUTH LOGIN
(tls-decrypted) <= 334 VXNlcm5hbWU6
(tls-encrypted) => dmFsZGlzQHZ0LmVkdQ==
(tls-decrypted) <= 334 UGFzc3dvcmQ6
(tls-encrypted) => redacted-base64-pass-here
(tls-decrypted) <= 235 2.0.0 OK Authenticated
(tls-encrypted) => MAIL FROM:<Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu>
(tls-decrypted) <= 250 2.1.0 <Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu>...
Sender ok
(tls-encrypted) => RCPT TO:<valdis(_at_)vt(_dot_)edu>
(tls-decrypted) <= 250 2.1.5 <valdis(_at_)vt(_dot_)edu>... Recipient ok
(tls-encrypted) => DATA
(tls-decrypted) <= 354 Enter mail, end with "." on a line by itself
(tls-encrypted) => .
(tls-decrypted) <= 250 2.0.0 r42GTajg021042 Message accepted for delivery
(tls-encrypted) => QUIT
(tls-decrypted) <= 221 2.0.0 auth3.smtp.vt.edu closing connection
At current HEAD, I get this. Apparently something is still not
backwards-combatable
in the 'credentials' code.
SSL negotiation successful: DHE-RSA-AES256-SHA(256) TLSv1/SSLv3
(tls-encrypted) => EHLO turing-police.cc.vt.edu
(tls-decrypted) <= 250-auth3.smtp.vt.edu Hello turing-police.cc.vt.edu
[128.173.14.107], pleased to meet you
(tls-decrypted) <= 250-ENHANCEDSTATUSCODES
(tls-decrypted) <= 250-PIPELINING
(tls-decrypted) <= 250-8BITMIME
(tls-decrypted) <= 250-SIZE 26210000
(tls-decrypted) <= 250-DSN
(tls-decrypted) <= 250-AUTH LOGIN PLAIN
(tls-decrypted) <= 250-DELIVERBY
(tls-decrypted) <= 250 HELP
(tls-encrypted) => AUTH LOGIN
(tls-decrypted) <= 334 VXNlcm5hbWU6
(tls-encrypted) => *
(tls-decrypted) <= 501 5.0.0 AUTH aborted
(tls-encrypted) => RSET
(tls-decrypted) <= 250 2.0.0 Reset state
(tls-encrypted) => QUIT
(tls-decrypted) <= 221 2.0.0 auth3.smtp.vt.edu closing connection
post: problem initializing server; [BHST] SASL client negotiation failed:
invalid parameter supplied
send: message not delivered to anyone
The relevant line out of my .netrc (slightly redacted):
machine auth.smtp.vt.edu login valdis(_at_)vt(_dot_)edu password
redacted-password-here
and 'send -version' reports:
Profile: -nomime -msgid -server auth.smtp.vt.edu -port 587 -tls -sasl -user
valdis(_at_)vt(_dot_)edu
I get the same results with and without the 'login valdis(_at_)vt(_dot_)edu'
phrase in .netrc, and
whether or not I put a 'credentials: legacy' in .mh_profile.
It doesn't seem to find the entry.
Hope this
pgpXlRxamdg9L.pgp
Description: PGP signature
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers