Defect #41085
closedConnection ref used - connect(2) for 127.0.0.1:25
0%
Description
Hi,
Sending test mail giving below error in production logs.
[ActiveJob] [ActionMailer::MailDeliveryJob] [abf1f9a7-a670-4a88-a17d-f8c79d08af85] Email delivery error: Connection ref
used - connect(2) for 127.0.0.1:25
Setup details:
Environment:
Redmine version redmine-5.1.3 Stable
Ruby version ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [x86_64-linux]
Rails version rails-6.1.7.8
Database adapter Mysql 8.0
Mail notification is not working
Files
Updated by Sandeep Utekar 4 months ago
Sandeep Utekar wrote:
Hi,
Sending test mail giving below error in production logs.
[ActiveJob] [ActionMailer::MailDeliveryJob] [abf1f9a7-a670-4a88-a17d-f8c79d08af85] Email delivery error: Connection ref
used - connect(2) for 127.0.0.1:25Setup details:
Environment:
Redmine version redmine-5.1.3 Stable
Ruby version ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [x86_64-linux]
Rails version rails-6.1.7.8
Database adapter Mysql 8.0Mail notification is not working
Any update?
Updated by Sandeep Utekar 3 months ago
Hi Mail server is on remote server not on local host. And i am able to telnet on mail server.
But some how request is going for local host not on remote mail server.
Please find my configuration file.
email_delivery:
delivery_method: :smtp
smtp_settings:
address: 172.17.9.X
port: 25
openssl_verify_mode: 'none'
domain: "xyz.XXXXX.com"
authentication: :nil