Closed usonianhorizon closed 4 months ago
@usonianhorizon try this version: https://raw.githubusercontent.com/jetmore/swaks/94-support-login-initial-response/swaks
You would use it the same as you have been, except you specify the auth type LOGIN-INITIAL (--auth LOGIN-INITIAL
). Let me know if this works as expected and I'll merge it for the next release
Great, I'll merge it and it will be in the next release. In the mean time you can keep using that dev version
According to RFC-4954 (and RFC-2554 before that), the
AUTH LOGIN
command has an optional<initial-response>
argument:When supplied, the SMTP server need not reply with a
334 VXNlcm5hbWU6
but proceed directly with a request for password334 UGFzc3dvcmQ6
I'd like to request an option be added to SWAKS to use this form of
AUTH LOGIN
when interacting with SMTP servers.I have used the recipes at SMTP 101: Manual SMTP Sessions Section 3: TLS to create an
expect
script to test this version ofAUTH LOGIN
:which is run after initiating the communications and issuing the STARTTLS command in order to get the SMTP server switch to TLS: