[exim-dev] [Bug 2066] New: Disappeared messages.

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2066] Disappeared messages.
Subject: [exim-dev] [Bug 2066] New: Disappeared messages.
https://bugs.exim.org/show_bug.cgi?id=2066

            Bug ID: 2066
           Summary: Disappeared messages.
           Product: Exim
           Version: 4.87
          Hardware: x86-64
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Routing
          Assignee: nigel@???
          Reporter: zarabotak@???
                CC: exim-dev@???


Hello,

I've faced with a problem of disappeared messages. In logs it looks like server
takes message and then message disappears:
#cat main.log.0 | grep 1cj5wG-000B8D-1j
2017-03-01 17:13:12 [42793] 1cj5wG-000B8D-1j DKIM: d=sender.domain s=us
c=relaxed/relaxed a=rsa-sha1 b=1024 i=bestdeal@??? [verification
succeeded]
2017-03-01 17:13:12 [42793] 1cj5wG-000B8D-1j DMARC results:
spf_domain=emluni.com dmarc_domain=sender.domain spf_align=no dkim_align=yes
enforcement='Accept'
2017-03-01 17:13:12 [42793] 1cj5wG-000B8D-1j <= postman@???
H=smtp278.emlone.com [85.206.175.34] P=esmtp S=95356
id=E1cj5wE-ZtYQtJ-Ko@??? T="Subject was changed." for
user@???
2017-03-01 17:14:46 [71994] 1cj5wG-000B8D-1j Completed
(Original sender domain and my domain were changed to sender.domain and
local.domain respectively.)
Message 1cj5wG-000B8D-1j hasn't been delivered to user@???'s mailbox.

I had router:
smtp_inbox:
  driver           = manualroute
  domains          = local.domain
  host_find_failed = defer
  condition        = ${lookup mysql{select data} {yes}{no}}
  condition        = ${lookup mysql{insert data} {yes}{no}}
  headers_add      = "Some header: some info"
  transport        = remote_lmtp
  route_data       = AUTH_INFO_GET_STORAGE::2555


and transport for it:
remote_lmtp:
driver = smtp
protocol = lmtp
hosts_override
port = 2555
return_path_add

After deleting two conditions with mysql queries messages stopped disappearing.
Even if database was inaccessible I haven't found any errors about it in exim's
or mysql's logs.
Unfortunately, I cannot run exim in debugging mode because incoming message's
flow is very big.
I have found a thread https://bugs.exim.org/show_bug.cgi?id=1788 with similar
problem but not the same.
"Disappearing" does not depend on sender domain or time.
Do you have any idea why messages disappear from queue silently?

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