Heloo Heiko
Everything seems OK, but I need to add a rule that checks if there is an X-Bogosity header at all, if there is none then it should not perform the transport, because messages sent internally within the domain are not tagged and everything goes to the SPAM folder

condition = ${if and{ \
           {eqi{$h_X-Bogosity:}{Spam}} \
{!bool_lax{${lookup{$sender_address}lsearch,ret=key{/etc/exim/listy_acl/bogo_lists}}}} \ {!bool_lax{${lookup{${address:$h_from:}}lsearch,ret=key{/etc/exim/listy_acl/bogo_lists}}}} \
        }{considered as spam}{that's ok}}


Thank you very much for your help


----- Original Message ----- From: "Heiko Schlittermann via Exim-users" <exim-users@lists.exim.org>
To: "Sławomir Dworaczek" <sla...@dworaczek.info>
Sent: Friday, February 21, 2025 11:03 AM
Subject: [exim] Re: please check the condition



--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/



--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to