Exim filter not working with email forward

SmokSky

Registered
Dec 5, 2018
1
0
1
Viet Nam
cPanel Access Level
Website Owner
I have server mail with forward to a yahoo email, but I wan't send email forward if email have header from domain is "@yahoo.com".

Begin i try will block all email forwarder to email "[email protected]" but it filter not working, Emails still forwarder to email "[email protected]",

My Filter:
Code:
if $header_to: contains "[email protected]"
then
fail text "Your message to inform email users about the problem..."
finish
endif
if not first_delivery
then
finish
endif
Please help me ! Thanks
 
Last edited by a moderator: