Content
Can't send emails
Added by Rafael Andrade over 5 years ago
Hello, I created an installation without SSL and email configuration, then created the ENV_VARS for the Rails app. The vars are ok, I tested it using curl, and the connection through port 587 (using nc command) is ok. I run the reconfigure and select "sendmail" option. After that I try to send emails but it fails, ignoring the_ ENV___VARS. Here's the log:
May 15 20:43:25 open-project postfix/pickup[2869]: 29C4EFEC5A: uid=111 from=<openproject@example.net>
May 15 20:43:25 open-project postfix/cleanup[4201]: 29C4EFEC5A: message-id=<5cdc79ed1c413_10022b211b8eb9a0521c@open-project.mail>
May 15 20:43:25 open-project postfix/qmgr[2870]: 29C4EFEC5A: from=<openproject@example.net>, size=2892, nrcpt=1 (queue active)
May 15 20:43:25 open-project postfix/smtp[4205]: connect to aspmx.l.google.com[2607:f8b0:400d:c0a::1b]:25: Network is unreachable
I configured SMTP_PORT=587, not 25, another SMTP_DOMAIN, etc... Do I have to use the config file instead?
Thanks in advance.