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
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
In SMTP Server
Share this post:
Accepted Answer
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.
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.
Responses (3)
-
Accepted Answer
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. -
Accepted Answer
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. -
Accepted Answer
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?

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »