Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Forums
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

configuration.yml (7.87 KB) configuration.yml Sandeep Utekar, 2024-08-01 09:20
Actions #1

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: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?

Actions #2

Updated by Go MAEDA 3 months ago

  • 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.

Actions #3

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
Actions

Also available in: Atom PDF