postal icon indicating copy to clipboard operation
postal copied to clipboard

Getting "Message was not delivered successfully to SMTP server."

Open ankitsamarthya opened this issue 8 years ago • 3 comments

Hi,

I have setup postal on my aws account. Web interface works fine. I am able to send email from it. But when I try postal test-app-smtp [email protected] or trying to invite a user its giving the following error.

Message was not delivered successfully to SMTP server. Error: Errno::ECONNREFUSED (Connection refused - connect(2) for "127.0.0.1" port 2525)

SMTP Host: 127.0.0.1 SMTP Port: 2525 SMTP Username: (system generated username) SMTP Password: (system generated password)

Please help.

ankitsamarthya avatar Mar 09 '18 10:03 ankitsamarthya

Change port to 25. I don't know why, but SMTP don't turn on 2525 port.

vgladimir avatar Mar 09 '18 17:03 vgladimir

Port 2525 was part of the previous original configuration but Postal is capable of running on 25 now and does so by default. You can run on 2525 as well with some help from iptables.

If you see a reference to 2525, there is an issue open somewhere for updating the wiki.

willpower232 avatar Mar 09 '18 18:03 willpower232

Changing port to 25 in postal.yml worked.

ankitsamarthya avatar Mar 10 '18 06:03 ankitsamarthya