Skip to main content

Exim System Filter fail

Comments

4 comments

  • User Avatar
    cPRex Jurassic Moderator
    Hey there! Do you see anything odd in the /var/log/exim_mainlog file for that message? Are there possibly any whitelists or other entries in the filter that could have been actioned on before the "Z" filter was reached?
    0
  • User Avatar
    RootBoy
    We have only three whitelisted IP ranges from collaborators. I confirmed the IP of the email in question is not in those ranges. The target account has a couple spam filters, followed by the final filter that redirects the email to three other accounts. To confirm the exim attachment filter that bounces .z attachments actions first, I sent a dummy .z attachment to the same account and it bounced including these lines in exim_mainlog: cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1lyeJp-0003PR-A5 1lyeJp-0003PR-A5 cancelled by system filter: Message rejected because it has\npotentially executable content "three file.z". cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1lyeJp-0003PR-A5 1lyeJr-0003PY-E8 <= <> R=1lyeJp-0003PR-A5 U=mailnull P=local S=2584 T="Mail delivery failed: returning message to sender" for tst@mydomain.com The message that got thru has 6 entries in exim_mainlog, condensed and cleaned here: 1ly7ie-000Q3H-G5 H=(bizcloud-cep.localdomain) [128.199.21.82]:52016 Warning: Message has been scanned: no virus or other harmful content was found 1ly7ie-000Q3H-G5 <= vicky.nguyen@domain.com H=(bizcloud-cep.localdomain) [128.199.21.82]:52016 P=esmtp S=357448 id=20210629081802.637E8F03D136E2FC@kginternational.com T="Quotation request" for xyz@mydomain.com cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ly7ie-000Q3H-G5 1ly7ie-000Q3H-G5 => larry+xyz ("larry+xyz"@mydomain.com, larry@mydomain.com) R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 MfCeI9/E2mBohwEAAdGtpg Saved" 1ly7ie-000Q3H-G5 -> moe+xyz ("moe+xyz"@mydomain.com, moe@mydomain.com) R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 MfCeI9/E2mBohwEAAdGtpg:2 Saved" 1ly7ie-000Q3H-G5 -> curly+xyz ("curly+xyz"@mydomain.com, curly@mydomain.com) R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 MfCeI9/E2mBohwEAAdGtpg:3 Saved" 1ly7ie-000Q3H-G5 Completed
    0
  • User Avatar
    cPRex Jurassic Moderator
    Thanks for the additional details. That doesn't really tell us much, although it does indicate the filter was read as we don't see the typical "central_filter bypassed" that appears on many systems. I really don't have a good explanation based on those details. You're always welcome to open a ticket with our team if you wanted us to check the system directly.
    0
  • User Avatar
    RootBoy
    Thank You. As you suggested, precedence order can be confusing. Similar to the "bug/feature request" in which several filter actions (e.g. Discard Message) mysteriously cause the auto-responder not to trigger and/or filters to function.
    0

Please sign in to leave a comment.