Sorry I mustn’t have made myself clear OR I don’t understand your answer…

The issue is that I have spam messages going to the INBOX not the Spam Folder.. 
ie: it is not matching this router..

The message scores 10 and is clearly spam, but I don’t understand what to 
change to make a message with a return-path set to <> to work with this logic..

I’m guessing I need something that says if Sender does not exist.. or if it 
does exist.. use this MySQL lookup.. but how to write that?

Jonathan


> On 28 Jun 2019, at 17:23, Jeremy Harris via Exim-users <[email protected]> 
> wrote:
> 
> On 28/06/2019 17:09, Jonathan Gilpin via Exim-users wrote:
>> MYSQL_Q_WHITELIST=SELECT DISTINCT MYSQL_WHITETABLE.address FROM 
>> MYSQL_WHITETABLE WHERE ('${quote_mysql:$sender_address}' LIKE 
>> whitelist.address) OR ('*@${quote_mysql:$sender_address_domain}' LIKE 
>> whitelist.address)
>> 
>> 
>>> On 28 Jun 2019, at 16:50, Jeremy Harris via Exim-users 
>>> <[email protected]> wrote:
>>> 
>>> On 28/06/2019 16:23, Jonathan Gilpin via Exim-users wrote:
>>>> senders = ! ${lookup mysql {MYSQL_Q_WHITELIST}{$value}}
> 
> So, decide your policy.  If you want it to match (though I don't see
> why) write a more suitable lookup, or place suitable records in the db.
> 
> -- 
> Cheers,
>  Jeremy
> 
> -- 
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to