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

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

--- Comment #2 from Ros <zarabotak@???> ---
Thank you for your reply.
2) Yes, I checked "mailq" output and message was not there. Besides, there was
log line "1cj5wG-000B8D-1j Completed".
3) Here is my routing chain:

aliases_fallback:
  driver          = manualroute
  domains         = local.domain
  condition       =
${lookup{LPART_STRIP_PLUS}lsearch{/usr/DOMAIN-ROUTING}{yes}{no}}
  transport       = remote_smtp
  hosts_randomize
  route_list      = * mx-fallback1:mx-fallback2


second_delivery:
  driver          = manualroute
  domains         = local.domain
  condition       = ${if !first_delivery}
  transport       = remote_smtp
  hosts_randomize
  route_list      = * mx-fallback1:mx-fallback2


hidden_router:
  driver      = manualroute
  transport   = remote_smtp
  condition   = ${lookup{$domain}lsearch{/usr/lists/HIDDEN}{yes}{no}}
  route_data  = ${lookup{$domain}lsearch{/usr/lists/HIDDEN}}


dnslookup:
  driver              = dnslookup
  domains             = ! +local_domains
  transport           = remote_smtp
  ignore_target_hosts =
127.0.0.0/8:0.0.0.0/32:10.0.0.0/8:192.168.0.0/16:172.16.0.0/12:192.0.32.10/32


smtp_inbox_sf:
  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      = "X-Mask: $acl_m_mask"
  transport        = remote_lmtp
  route_data       = AUTH_INFO_GET_STORAGE::2555


smtp_inbox:
  driver           = manualroute
  domains          = local.domain
  host_find_failed = defer
  condition        = ${lookup mysql{insert data} {yes}{no}}
  headers_add      = "X-Mask: $acl_m_mask"
  transport        = remote_lmtp
  route_data       = AUTH_INFO_GET_STORAGE::2555


general_fallback:
  driver          = manualroute
  domains         = local.domain
  headers_remove  = "X-Mask:"
  headers_add     = "X-Mask: $acl_m_mask"
  transport       = remote_smtp
  hosts_randomize
  route_list      = * mx-fallback1


general_fallback router was added when we've noticed "disappearing" and it has
never occurred in logs.
If AUTH_INFO_GET_STORAGE::2555 fail in smtp_inbox router then next queue runner
delivery message to fallback hosts via second_delivery router.
{select data} query is ${if eq {${lookup mysql{SELECT count(*) FROM book WHERE
hpair=MD5(LOWER('USER_SENDER_PAIR')) and flag=1 limit 1}}}{1}{yes}{no}}
{insert data} query is ${lookup mysql{INSERT INTO rep SET
ip=inet_aton('$sender_host_address'), inbox=0, spam=1 ON DUPLICATE KEY UPDATE
spam=spam+1}{yes}{no}}
USER_SENDER_PAIR=${quote_mysql:$local_part@$domain$acl_m_mailfrom}

This is my sysfilter file:
# Exim filter for MX
if "${if def:h_Message-Id {yes}{no}}" is no
then
    headers add "Message-Id:
<${tod_epoch}-${message_exim_id}@${sender_address_domain}>"
endif


if not first_delivery
    then finish
endif


I hope this information will be helpful.

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