Skip to main content

Weird SMTP AUTH issue

Comments

5 comments

  • cPanelMichael
    I have helped him configure the batch file to use SMTP AUTH. I've verified that the email account and password have been properly base64-encoded, and when I manually key in the lines in the batch file in a Telnet session, it works perfectly. However, when the batch file is run, for some reason, the ID is not being set properly.

    Hello, It's possible the issue is with the batch file itself, as opposed to any server configuration values, since it's working well when you test manually. How is the batch file configured? Thank you.
    0
  • zubuz
    Hello, It's possible issue is with the batch file itself, as opposed to any server configuration values, since it's working well when you test manually. How is the batch file configured? Thank you.

    It's a simple text file that is read by the software that initiates the Telnet connection, then fed line by line into Telnet.
    0
  • cPanelMichael
    Hello, Does it make a difference if the SMTP connection occurs over port 465 instead of port 25? Thank you.
    0
  • zubuz
    Hello, Does it make a difference if the SMTP connection occurs over port 465 instead of port 25? Thank you.

    We require SSL if connecting via 465, and SSL is beyond the capabilities of the software he is using, so yes, it makes a difference, but not a useful one. ;) It turns out that closer analysis of the software revealed that it was hard-coded for non-AUTH transmission. The software was not expecting a 334 return code and therefore aborted when it didn't receive 250. We were able to add additional subroutines to the software to handle the return codes associated with AUTH (334 to prompt for username and password, and 235 to denote successful authentication). The user is testing now, but I am confident that it will work correctly. Thanks for your assistance.
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to determine the cause of the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.