Defect #41085
closed
Connection ref used - connect(2) for 127.0.0.1:25
Added by Sandeep Utekar 4 months ago.
Updated 3 months ago.
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
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: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
Any update?
- Status changed from New to Closed
- Resolution set to Invalid
Your Redmine was attempted to connect to 127.0.0.1:25. Please check if a mail server is properly configured on the localhost.
And please use forums for asking questions.
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
Also available in: Atom
PDF