Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim filter not working with email forward

Discussion in 'E-mail Discussion' started by SmokSky, Dec 11, 2018.

  1. SmokSky

    SmokSky Registered

    Joined:
    Dec 5, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 "someusr@yahoo.com" but it filter not working, Emails still forwarder to email "someusr@yahoo.com",

    My Filter:
    Code:
    if $header_to: contains "someusr@yahoo.com"
    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
     
    #1 SmokSky, Dec 11, 2018
    Last edited by a moderator: Dec 11, 2018
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,826
    Likes Received:
    476
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice