Hi,

please don't hijack other threads.

Is this, what you want?

    ${if and{
            {eqi{$h_x-bogosity:}{spam}}
            
{!bool_lax{${lookup{$sender_address}lsearch,ret=key{/tmp/x.spamok}}}}
            
{!bool_lax{${lookup{${address:$h_from:}}lsearch,ret=key{/tmp/x.spamok}}}}
         }{considered as spam}{that's ok}}

You should know, that there might be multiple addresses in the From:
Header. Though nowadays it's contradictionary to DMARC, which doesn't
allow multiple addresses in the From: header.

And recently it *seems*, that some big players really check this and
recject messages with multiple addresses in the From: header. (I'm not
sure, if that happens only when the sending domain has DMARC DNS
entries, of it such mails are rejected in general now.)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -

Attachment: signature.asc
Description: PGP signature

-- 
## 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