Hotspot SMTP Auth

Hi All,

Currently users on my public hotspot (2.9.46) cannot authenticate with their smtp servers, since all smtp traffic gets redirected to my ISP’s smtp server.

I have searched the forum, wiki, maual etc, but no answers.

Any way around this?

Disable SMTP server for ‘ip hotspot profile’ configuration, so clients are using e-mail client configured SMTP server settings.
This problem is not related to MikroTik RouterOS.

In my country, smtp relaying is not allowed. A lot of people use 3G on the road and ADSL at home and at work. For them to swop between isp’s like that, they have to either change their outgoing mail server, or use smtp auth in order to send mail.

The beauty of hotspot with smtp redirection is that customers cn use any outgoing mail server, as long as they do not use authentication.

I have been to the airport where they use a ‘national hotspot system’ runnig on Mikrotik. I had to switch off smtp auth to send a mail using their system. I am sure many other mobile users have experienced this. Also, I have had to talk people in hotels over the phone on how to switch off smtp auth so that they could send mail. One of my customers experiences similiar behaviour in Europe.

So, is there a way to detect smtp auth and just bypass the hotspot smtp server settings?

This problem is related to MikroTik RouterOS, even if there is no solution.

this needs to be fixed at your mail server. You either need to tell it to ignore SMTP AUTH somehow, or auto create an account for them on the fly. RouterOS does not dig into the packets that deep and doesn’t know anything about them other than they are port 25.

one other solution would be to use CONTENT fields, search on the AUTH LOGIN text, or whatever methods are used, and then add the source IP to an address-list. Then, bypass that address-list on the smtp redirection.

port 25, tcp psh, content=AUTH LOGIN or something like that.

Thanks for the reply, I will play around with the '‘content’.