Re: [exim] $original_local_part does not match local part in Envelope-to

2021-02-24 Thread Jeremy Harris via Exim-users
On 24/02/2021 20:10, Rainer Dorsch via Exim-users wrote: Is there a way to log the value of $original_local_part (or other variables) in /var/log/exim/mainlog ? http://exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html Section 15 "Logging commands" logfile

[exim] $original_local_part does not match local part in Envelope-to

2021-02-24 Thread Rainer Dorsch via Exim-users
Hi, I have a mail rule in my .forward file [..] elif "$original_local_part" is "microdollar" then save Maildir/.AA- bokomoko.spam/ [..] else save Maildir/ endif and I am wondering why an email with the header does not match this rule Return-path: <> Envelope-to: microdol...@bokomoko.de Deliv

Re: [exim] queryprogram doesnt appear to be honouring ordering of HOSTS=

2021-02-24 Thread Jeremy Harris via Exim-users
On 24/02/2021 17:30, Adam Low via Exim-users wrote: The debug below shows that EXIM is getting the 3 hosts returned from "queryprogram", and appears to successfully resolve the higher priority outlook.com MX's but it almost seems that the HOST_NOT_FOUND on the third invalid domain results in the

Re: [exim] queryprogram doesnt appear to be honouring ordering of HOSTS=

2021-02-24 Thread Adam Low via Exim-users
Guess I deserved the sarcasm on that one, although didn't want to create a behemoth of an initial post. It's not a hints db issue, I tend to purge the contents of /var/spool/exim4/db/ each time I run a test to ensure there's nothing being cached. The debug below shows that EXIM is getting the 3 ho

Re: [exim] Very strange problem: E-Mail denied by ACL, but send via router

2021-02-24 Thread Luca Bertoncello via Exim-users
Am 24.02.2021 14:14, schrieb Heiko Schlittermann via Exim-users: Hi Heiko Ok, it *seems* that Exim rejects the message. But … please show us your ACL. Could someone help me finding the problem? There is the *fakereject* ACL verb, did you use it? I think I found the problem... It seems, Ka

Re: [exim] Very strange problem: E-Mail denied by ACL, but send via router

2021-02-24 Thread Heiko Schlittermann via Exim-users
Hi Lucabert, Luca Bertoncello via Exim-users (Mi 24 Feb 2021 13:19:13 CET): > So I tried with an E-Mail we received yesterday. The E-Mail contains an > encrypted Excel and Avast refused the E-Mail since the file is password > protected (OK, the file is clean, I'm sure of that! And Avast should

Re: [exim] Very strange problem: E-Mail denied by ACL, but send via router

2021-02-24 Thread Jeremy Harris via Exim-users
On 24/02/2021 12:19, Luca Bertoncello via Exim-users wrote: I tried with exim -bh. I see: deny: condition test succeeded in ACL "acl_check_data" end of ACL "acl_check_data": DENY unspool_mbox(): unlinking '/var/spool/exim4/scan/1lEsvz-0001D5-H1/1lEsvz-0001D5-H1-0' unspool_mbox(): unlinking

Re: [exim] queryprogram doesnt appear to be honouring ordering of HOSTS=

2021-02-24 Thread Jeremy Harris via Exim-users
On 23/02/2021 15:34, Adam Low via Exim-users wrote: However it seems that EXIM is ignoring the ordering of these hosts and its unclear how it is selecting them from the list. This is why the debug facilities exist. One possibility is that the first host listed is recorded in your hints databas

[exim] Very strange problem: E-Mail denied by ACL, but send via router

2021-02-24 Thread Luca Bertoncello via Exim-users
Hi list! I have a very strange problem... By some E-Mails (no template found) the sender will be notified that the E-Mail contains a virus, but the recipient receives the E-Mail. Some words about our configuration: we have three Antivirus (Kasperski, Avast and ClamAV). If at least one of thes

[exim] queryprogram doesnt appear to be honouring ordering of HOSTS=

2021-02-24 Thread Adam Low via Exim-users
Greetings fellow EXIM admins! I am currently suspecting we've found a bug but if there's one thing I've learnt, it's don't assume, ask the experts ;) special_xheader_pane: debug_print = "R: xheader_pane for $local_part@$domain" driver = queryprogram command = /usr/bin/pane_lookup.pl '$domai