Project

General

Profile

Actions

Bug #759

open

redmine instances don't send any notification

Added by Pierre-Louis Bonicoli about 2 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
Normal
Category:
Service :: Web
Start date:
2022-03-15
Due date:
% Done:

50%

Estimated time:
Patch Available:
Confirmed:
Yes
Branch:
Entity:
DuckCorp
Security:
No
Help Needed:

Description

Since the redmine instances are hosted within a LXC container, email notifications are no longer sent.

It looks like the issue comes from the Redmine configuration and 127.0.0.1:25 being used within the container.

The following configuration update isn't sufficient:

--- /etc/redmine/dc/configuration.yml    2022-03-15 22:28:00.095274510 +0000
+++ /etc/redmine/dc/configuration.yml.new    2022-03-15 22:27:44.102827009 +0000
@@ -4,8 +4,8 @@
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
-      address: 127.0.0.1
-      domain: ''
+      address: 10.0.7.1
+      domain: 'projects.duckcorp.org'
       enable_starttls_auto: false
       port: 25

due to the grey listing configuration:
Mar 15 23:12:37 Toushirou postfix/smtpd[1597691]: connect from unknown[10.0.7.2]
Mar 15 23:12:37 Toushirou postfix/smtpd[1597691]: 4KJ71x5crKz4Bs: client=unknown[10.0.7.2]
Mar 15 23:12:37 Toushirou postfix/cleanup[1597693]: 4KJ71x5crKz4Bs: message-id=<redmine.journal-2400.20220315221237.3bd6c5f55c0c0d17@projects.duckcorp.org>
Mar 15 23:12:38 Toushirou postfix/cleanup[1597693]: 4KJ71x5crKz4Bs: milter-reject: END-OF-MESSAGE from unknown[10.0.7.2]: 4.7.1 Try again later; from=<issues@projects.duckcorp.org> to=<[redacted]@ir5.eu> proto=ESMTP helo=<projects.duckcorp.org>

@Marc Dequènes should the grey listing be disabled for 10.0.7.2 or is there another way ?

Actions

Also available in: Atom PDF