Forums

Resolved
0 votes
Hi there.

i am having some challenges when it comes setting up smtp authentication on my clearos 7 mail server.
when i use a starndard relay host without auntherntication it work but then i configured it you use an authenticated smtp relay host it gives me this error:


The mail system

<xxxx@gmail.com>: host smtp.xxx.co.za [x.x.x.x] said: 550 relay
not permitted (in reply to RCPT TO command)


I have specified the new authenticated smtp and the password file and mapped it but it does not sent any emails.
i have even gone as far as changing to port from 25 to 587 without success.

Could it have something to do with the tls and ssl encryption?

Thank you
Attachments:
Wednesday, September 02 2020, 02:45 PM
Share this post:

Accepted Answer

Wednesday, September 02 2020, 03:08 PM - #Permalink
Resolved
1 votes
Checkout this documentation - https://documentation.clearos.com/content:en_us:kb_howtos_smtp_authentication_to_isp.

In the mail settings app you can only use ports 25 and 465 as it really needs updating. If you want to send via 587, the only way you can do it is to use the SMTP server at 127.0.0.1 (without authentication on port 25, if you want) and then let the SMTP server then send it out on port 587 using the document I linked to above.
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    Friday, September 11 2020, 06:04 AM - #Permalink
    Resolved
    0 votes
    Hi Nick

    I retried the instructions you sent me :

    https://documentation.clearos.com/content:en_us:kb_howtos_smtp_authentication_to_isp

    and everything is running 100%

    Thank you very much.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 04 2020, 01:36 PM - #Permalink
    Resolved
    1 votes
    I am not sure why you implemented stunnel. That is only for sending mails out from your server by port 465 and should not be needed. It is also not needed by the Mail Settings app.

    The bit you wanted was the STARRTLS section. Then in the Mail Settings app set it to use the server 127.0.0.1 or localhost and port 25, without authentication.

    If things then do not work, have a look at the mail log - /var/log/maillog.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 04 2020, 12:07 PM - #Permalink
    Resolved
    0 votes
    Hi Nick

    Thank you for the reply.
    I went ahead and installed the stunnel and created the files and configured as instructed
    Also went into the postix configs and makes some changes according to the document.
    After reload postfix tried senidng out an email but the email stall in the outbox forever.
    I don't know what else to look out for?
    The reply is currently minimized Show
Your Reply