The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Discarded System Filter

Discussion in 'E-mail Discussions' started by Osama Tariq, Aug 1, 2015.

  1. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Getting email accepted but discarded, even not blocked in /etc/vfilters/domainname and /usr/local/cpanel/etc/exim/sysfilter/options/cpanel_exim_system_filter
    below are the logs:

    Code:
    2015-08-01 12:29:40 1ZLREh-000bSA-DY <= sender@domainname H=server.app.com.pk [72.249.151.114]:36624 I=[192.99.161.36]:25 P=esmtps X=TLSv1:DHE-RSA-AES256-SHA:256 S=105314 id=4164DE04EF8145B8A17B08D375815E73@appc.local T="APP URDU SERVICE ISLAMABAD" from <sender@domainname> for receiver@domainname
    2015-08-01 12:29:40 1ZLREh-000bSA-DY => discarded (system filter)
    2015-08-01 12:29:40 1ZLREh-000bSA-DY Completed
     
    #1 Osama Tariq, Aug 1, 2015
    Last edited by a moderator: Aug 1, 2015
  2. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have checked from /var/log/filter.log, i get below messages:
    Sat, 01 Aug 2015 13:18:22 +0500 1ZLRzp-000vy9-F5 from Sender@domainname contained @googlegroups.com keywords
    Sat, 01 Aug 2015 14:10:56 +0500 1ZLSoi-001FKs-K4 from Sender@domainname contained @googlegroups.com keywords



    @googlegroups is blocked in exim filter, is it possible to allow @googlegroups for specific domain ?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    What's the exact custom filter rule you have implemented?

    Thank you.
     
  4. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Below is the code i have added in exim system filter file:

    Code:
    logfile /var/log/filter.log 0644
    if
    ($received_protocol is "local"
    or $received_protocol is "smtp")
    and ("$h_to:, $h_cc:" contains "@googlegroups.com")
    or ("$h_from:" contains "@googlegroups.com")
    then
    logwrite "$tod_full $message_id from $sender_address contained @googlegroups.com keywords"
    seen finish
    endif
    Any update.. ???
     
    #4 Osama Tariq, Aug 5, 2015
    Last edited by a moderator: Aug 8, 2015
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You might be able to implement some custom ACL rules that allow certain domain names to bypass the filters. You may want to post to the Exim-Users mailing list for assistance with configuring that type of custom filter. Or, consider implementing the filter on a per-account basis for any account that needs it, instead of globally for Exim.

    Thank you.
     
Loading...

Share This Page