[exim-dev] [Bug 2411] New: "error ignored" in mainlog, no b…

Inizio della pagina
Delete this message
Reply to this message
Autore: admin
Data:  
To: exim-dev
Oggetto: [exim-dev] [Bug 2411] New: "error ignored" in mainlog, no bounce message
https://bugs.exim.org/show_bug.cgi?id=2411

            Bug ID: 2411
           Summary: "error ignored" in mainlog, no bounce message
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Delivery in general
          Assignee: nigel@???
          Reporter: Lena@???
                CC: exim-dev@???


Created attachment 1193
--> https://bugs.exim.org/attachment.cgi?id=1193&action=edit
my config

It seems that after upgrade from 4.91 to 4.92
Exim in my VPS stopped to generate bounce messages (DSN) when relaying (with
authentication). Instead mainlog contains "error ignored".

A test case: I stop Exim, delete all files in /var/spool/exim/db, start Exim
daemon, submit a message via SMTP with authentication. The message has single
recipient for example on Gmail, for example a non-existent recipient. Gmail
replies 550 to RCPT. Exim fails to generate a bounce message (DSN):

2019-06-27 01:06:11 +0300 1hgG3O-00028P-R0 <= Lena@???
H=ip-1926.rusanovka-net.kiev.ua (bedside.lena.kiev.ua) [94.244.25.38]
I=[62.109.6.225]:5225 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no
A=login:forsmtp@??? S=1057 RT=0s id=20190626220609.GN785@???
2019-06-27 01:06:11 +0300 1hgG3O-00028P-R0 ** nonexistlena@???
R=remote_domains T=remote_smtp H=gmail-smtp-in.l.google.com [64.233.165.26]
I=[62.109.6.225] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes: SMTP error
from remote mail server after RCPT TO:<nonexistlena@???>: 550-5.1.1 The
email account that you tried to reach does not exist. Please try\n550-5.1.1
double-checking the recipient's email address for typos or\n550-5.1.1
unnecessary spaces. Learn more at\n550 5.1.1
https://support.google.com/mail/?p=NoSuchUser s21si188059ljg.231 - gsmtp
2019-06-27 01:06:11 +0300 1hgG3O-00028P-R0 nonexistlena@???: error
ignored
2019-06-27 01:06:11 +0300 1hgG3O-00028P-R0 Completed QT=0s

Nothing in rejectlog, paniclog, spool.
The same if 5xx after end of data.
My config doesn't contain "errors_to".

How to debug delivery?
I inserted into the beginning of rcpt ACL:

 warn domains = tiscali.cz
      control = debug/tag=.$message_exim_id/opts=+all


The debuglog http://lena.kiev.ua/tiscalics.bz2 contains only lines with pid of
the receiving process, including (here I redacted valid localpart):

20:18:58 18029 DSN: **** SPOOL_OUT - address: |doma*@???| errorsto:
|NULL| orcpt: |NULL| dsn_flags: 24

I suppose that the 24 is decimal, 0x18 . In macros.h:

/* Flags for recipient_block, used in DSN support */
...
#define rf_notify_failure       0x08
#define rf_notify_delay         0x10


In deliver.c:

  if (  addr_failed->prop.ignore_error
     || addr_failed->dsn_flags & (rf_dsnflags & ~rf_notify_failure)
...
    log_write(0, LOG_MAIN, "%s%s%s%s: error ignored",


I invoked Exim with the message at stdin:
exim -d+all -i -t <a/a >tis1 2>tis2
but that way the bug didn't manifest, a normal DSN was generated, that debug
line contained dsn_flags 0:

20:46:51 28502 DSN: **** SPOOL_OUT - address: |doma*@???| errorsto:
|NULL| orcpt: |NULL| dsn_flags: 0

I attached my config.

--
You are receiving this mail because:
You are on the CC list for the bug.