Skip to main content

Submission message on port 587 without smtp authentication

Comments

25 comments

  • vanessa
    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
  • cPanelMichael
    [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
  • danielvasc
    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
  • cPanelMichael
    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
  • danielvasc
    a desktop application...
    0
  • vanessa
    [quote="danielvasc, post: 1663801">a desktop application...
    What's the name of the application?
    0
  • danielvasc
    It is an application of a private company that develops software here in my town.
    0
  • Infopro
    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
  • danielvasc
    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
  • cPanelMichael
    [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
  • danielvasc
    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
  • cPanelMichael
    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
  • danielvasc
    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.br
    0
  • cPanelMichael
    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
  • danielvasc
    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
  • cPanelMichael
    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
  • danielvasc
    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 587
    0
  • cPanelMichael
    Could you post a screenshot of the server settings you are using for Thunderbird? Thank you.
    0
  • danielvasc
    - Removed -
    0
  • cPanelMichael
    You have "No Authentication" configured. You have to ensure "Authentication" is enabled. Thank you.
    0
  • danielvasc
    Same error. - Removed -
    0
  • cPanelMichael
    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
  • danielvasc
    Solved! I'll show what I did: - Removed - Yours, Daniel Vasconcelos
    0
  • vanessa
    [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
  • danielvasc
    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.