EmailtoSMS auth problems

EmailtoSMS auth problems SearchSearch
Author Message
dinos
Frequent Contributor
Username: Dinaras

Post Number: 51
Registered: 02-2006
Posted on Monday, April 08, 2024 - 10:09 am:   

Hello Support,
I have been using nowsms for many years. Lately we upgraded to the latest 2022.10.03

I can successfully send emailtosms by using telnet, but i am unable to send emailtosms using thunderbird or any other application/script that can send auth emails.

Below is a part from log when attempting to send emailtosms using an asp script, but it looks the same from thunderbird too.

11:36:00:487 [16] ThreadProcessConnection: Thread started
11:36:00:487 [16] ThreadProcessConnectionSMTP: Processing SMTP connection from X.X.X.X...
11:36:00:487 [16] ThreadProcessConnectionSMTP: 220 SMTP Ready
11:36:00:572 [16] ThreadProcessConnectionSMTP: EHLO Alexandros
11:36:00:572 [16] ThreadProcessConnectionSMTP: 250-Ok
250 HELP
11:36:00:658 [16] ThreadProcessConnectionSMTP: MAIL FROM: <xxxxxxx@gmail.com>
11:36:00:659 [16] ThreadProcessConnectionSMTP: 250 Ok
11:36:00:744 [16] ThreadProcessConnectionSMTP: RCPT TO: <30xxxxxxxxxx@email2sms.xxxxxxx.com>
11:36:00:748 [16] ThreadProcessConnectionSMTP: 550 Recipient unknown or not local
11:36:00:833 [16] ThreadProcessConnectionSMTP: QUIT
11:36:00:833 [16] ThreadProcessConnectionSMTP: 221 Goodbye

The script has all settings to send cleartext auth, but why it does not appear?
I can send more debug info, just ask what you need.
Thank you very much in advance for your help
Regards
Dinos
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8512
Registered: 10-2002
Posted on Wednesday, April 10, 2024 - 08:54 pm:   

Hi Dinos,

We think we see the issue...a change related to a security issue for a customer who did not like that the server. allowed cleartext aiuth inadvertantly broke this feature (it should have been disabled only by a cofiguration setting.

A preliminary update has been uploaded to https://nowsms.com/download/mmscdinos.zip which should fix this prjoblem. This ZiP file includes only an updated mmsc.exe. Stop the NowSMS MMSC service and manually copy the replacement mmmsc.exe into the NowSMS directory, then restart the service.

Regards,

Bryce Norwood
NowSMS Support
dinos
Frequent Contributor
Username: Dinaras

Post Number: 52
Registered: 02-2006
Posted on Monday, April 29, 2024 - 08:01 pm:   

Hello Bryce and thank you for your reply,
Unfortunately it does not seem to work.

Thunderbird never asks for a password probably because i dont see AUTH LOGIN???
Enabling TLS would solve this?

Thanks again
Dinos

21:44:33:014 [16] ThreadProcessConnection: Thread started
21:44:33:015 [16] ThreadProcessConnectionSMTP: Processing SMTP connection from X.X.X.X...
21:44:33:015 [16] ThreadProcessConnectionSMTP: 220 SMTP Ready
21:44:33:064 [16] ThreadProcessConnectionSMTP: EHLO [192.168.1.217]
21:44:33:064 [16] ThreadProcessConnectionSMTP: 250-Ok
250 HELP
21:44:33:108 [16] ThreadProcessConnectionSMTP: MAIL FROM:<XXXX@email2sms.example.com>
21:44:33:108 [16] ThreadProcessConnectionSMTP: 250 Ok
21:44:33:144 [16] ThreadProcessConnectionSMTP: RCPT TO:<+30XXXXXXXXXX@email2sms.example.com>
21:44:33:146 [16] ThreadProcessConnectionSMTP: 550 Recipient unknown or not local
21:44:33:189 [16] WaitForResponsePOP3: ioctlsocket reports no more data
21:44:33:189 [16] WaitForSocketClose: WinSock reported ioctlsocket complete
21:44:33:189 [16] ThreadProcessConnectionSMTP: Closing SMTP Connection
21:44:33:189 [16] ThreadProcessConnectionSMTP: Thread ended
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8518
Registered: 10-2002
Posted on Wednesday, May 01, 2024 - 08:40 pm:   

Hi Dinos,

I'm sorry, but I made a mistake and put the wrong updated mmsc.exe into that ZIP file.

You are correct, you should see AUTH LOGIN in the response to the EHLO command.

I've double and triple checked that the following ZIP has the correct version:
https://nowsms.com/download/mmscdinos2.zip

Regards,

Bryce Norwood
NowSMS Support
dinos
Frequent Contributor
Username: Dinaras

Post Number: 53
Registered: 02-2006
Posted on Friday, May 03, 2024 - 11:36 am:   

Hello Bryce

I can confirm that the second file worked as expected. I also tested the ip restriction which also worked with 13:28:00:879 [16] ThreadProcessConnectionSMTP: 535 Authentication Failed

Thank you very much for your help
Regards
Dinos

The correct log is
13:22:55:357 [16] ThreadProcessConnection: Thread started
13:22:55:357 [16] ThreadProcessConnectionSMTP: Processing SMTP connection from X.X.X.X...
13:22:55:357 [16] ThreadProcessConnectionSMTP: 220 SMTP Ready
13:22:55:391 [16] ThreadProcessConnectionSMTP: EHLO [192.168.1.217]
13:22:55:392 [16] ThreadProcessConnectionSMTP: 250-Ok
250-AUTH LOGIN
250 HELP
13:22:55:423 [16] ThreadProcessConnectionSMTP: AUTH LOGIN
13:22:55:424 [16] ThreadProcessConnectionSMTP: 334 xxxxxxxxxxxxxxxx
13:22:55:451 [16] ThreadProcessConnectionSMTP: xxxxxxxx==
13:22:55:452 [16] ThreadProcessConnectionSMTP: 334 xxxxxxxxxx
13:22:55:478 [16] ThreadProcessConnectionSMTP: Vxxxxxxx
13:22:55:479 [16] ThreadProcessConnectionSMTP: 235 Ok
13:22:55:508 [16] ThreadProcessConnectionSMTP: MAIL FROM:<xxxxxxx@email2sms.example.com>
13:22:55:509 [16] ThreadProcessConnectionSMTP: 250 Ok

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: