Submission message on port 587 without smtp authentication
Need to send messages from a remote host without authentication. When I try to send, I get the following error:
2014-06-11 17:08:39 H=(MYPC-05) [192.8.19.1.]:53816 F= rejected RCPT : SMTP AUTH is required for message submission on port 587
For this to work, I must add the IP address "192.8.19.1" in / etc / relayhosts. The problem is that I have 300 machines that are sending from the same account (teste@domain.com), and these IP addresses are dynamic and different subnets, it is unfeasible.
I wonder if it is possible, the same way I did with the ip address, authorize a user, via the / etc / relayhostsusers.
-
This is such a bad idea, I'm not even going to tell you how to do it. If you can't find the sense to even Google this (where the solution is listed within the first three results), I get the feeling you wouldn't have the sense to secure this properly, either. You'd be better off listing your IPs in /etc/alwaysrelay (which is more static than /etc/relayhosts, which expires), than having an open relay server and contributing to spam problems on the Internet. Or even better, use authentication. 0 -
[quote="danielvasc, post: 1663072">Need to send messages from a remote host without authentication.
Hello :) Could you elaborate a little on why you need to send email without authentication? It's possible there is an alternative we can suggest based on your requirements. Thank you.0 -
The software that makes sending messages does not have the option to authenticate via smtp. Is there a way to make just a given e-mail can make sending messages from my server? 0 -
Is this an application installed on your website (E.g. PHP Script), or is this a desktop application you are referring to? Thank you. 0 -
a desktop application... 0 -
[quote="danielvasc, post: 1663801">a desktop application...
What's the name of the application?0 -
It is an application of a private company that develops software here in my town. 0 -
I don't want this to sound too awfully rough here, but: [QUOTE]Submission message on port 587 without smtp authentication
[QUOTE]I must add the IP address "192.8.19.1" in / etc / relayhosts. The problem is that I have 300 machines that are sending from the same account (teste@domain.com), and these IP addresses are dynamic and different subnets
This reads like either the script is poorly written and in that case you need to go back to them about it, or it's a spam sending script you're trying to get working. And if it's the latter, well, good luck with that. I concur with vanessa's comments above. Bad idea.0 -
When I use a gmail account, it works normally, and when I use an account of a domain of my cpanel server, gives error: SMTP AUTH is required for message submission on port 587 0 -
[quote="danielvasc, post: 1665871">When I use a gmail account, it works normally, and when I use an account of a domain of my cpanel server, gives error: SMTP AUTH is required for message submission on port 587
Google requires authentication in order to send email. How is the configuration different in your script when you use a Google mail account instead of an email account on your cPanel server? For instance, when you state "When I use a gmail account", please clarify and provide as many details as possible. Thank you.0 -
Not a script, but a setup screen where you can enter your username and password. As I said, when I use gmail credentials, it works normally, but when I use the Cpanel account, returns that error. Look at the screen configuration: - Removed - 0 -
The screenshot you provided indicates the ability to authenticate is possible. Is this a different application than the one you referenced initially, that did not require authentication? What is output to /var/log/maillog when authentication fails? Thank you. 0 -
root@cpanel [~]# tail -f /var/log/exim_mainlog | grep stche 2014-06-17 14:27:27 H=(Alexandre) [187.108.17.141]:52632 F= rejected RCPT : SMTP AUTH is required for message submission on port 587 2014-06-17 14:29:29 1WwxCK-0005FY-Ms <= nfeteste@domain.com.br H=(Alexandre) [187.108.17.141]:52748 P=esmtp S=390 T="te" for suporte@domain.com.br0 -
It looks like an issue with the application you are using. You will need to contact the developer or support for that application and let them know it's not sending authentication details properly, or attempt to reproduce the issue with an email client such as Thunderbird. Thank you. 0 -
Using account of Cpanel - Removed - Error: root@cpanel [~]# grep 187.108.17.141 /var/log/exim_mainlog 2014-06-17 14:27:27 SMTP connection from [187.108.17.141]:52632 (TCP/IP connection count = 6) 2014-06-17 14:27:27 H=(Alexandre) [187.108.17.141]:52632 Warning: Sender rate 1.0 / 1h 2014-06-17 14:27:27 H=(Alexandre) [187.108.17.141]:52632 F= rejected RCPT : SMTP AUTH is required for message submission on port 587 2014-06-17 14:27:27 SMTP connection from (Alexandre) [187.108.17.141]:52632 closed by DROP in ACL
Using Gmail Account - Removed - The message has been sent.0 -
Per my last response, if you are positive it's not a problem with the application, please try reproducing the issue with an email client such as Thunderbird and let us know if you experience the same result. Thank you. 0 -
Same error in thunderbird: - Removed - Error log: root@cpanel [~]# tail -f /var/log/exim_mainlog | grep stche 2014-06-17 15:17:44 H=([192.168.0.78]) [187.108.17.28]:58950 F= rejected RCPT : SMTP AUTH is required for message submission on port 5870 -
Could you post a screenshot of the server settings you are using for Thunderbird? Thank you. 0 -
- Removed - 0 -
You have "No Authentication" configured. You have to ensure "Authentication" is enabled. Thank you. 0 -
Same error. - Removed - 0 -
Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Solved! I'll show what I did: - Removed - Yours, Daniel Vasconcelos 0 -
[quote="danielvasc, post: 1667691">Solved! I'll show what I did: - Removed - Yours, Daniel Vasconcelos
Thanks for effectively now making your server a honeypot for spammers. By the way, if you edited exim.conf directly, your changes will be overwritten.0 -
But only authenticated on the server people can make sending messages. What's wrong with that? And you said that the settings will be overwritten? 0
Please sign in to leave a comment.
Comments
25 comments