Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default Email Filters Stopped Working... Please Help!!!

    For some reason email filters stopped working. I checked the /etc/vfilters file and the filter rule is there for a given user. The owner is set to the user, and the group is set to &mail&.

    Are there perl modules or any other thing that mail filters are dependant on that I might need to reinstall? I just ran the /scripts/easyapache. Any connection there?
    Chad E. Roadhouse

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Run /scripts/mailperm
    Just to be safe.............

    Then, make sure the .filter placeholder files within the ~username directory in question haven't vanished.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  3. #3
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default

    I ran the /scripts/mailperm script as suggested, and then I checked the .filter file. Everything seems in tact. I tried the same test on one of our own domains. Mail blocking is not working across the board.

    Any other ideas?

    The only thing that has changed recently is that we ran the /scripts/easyapache script to upgrade apache, PHP, and what ever else that upgrades.
    Chad E. Roadhouse

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    The apache script can't possibly have any affect on this.....

    Did your exim.conf get overwritten or gutted by some other mysterious force?

    Does this entry exist within your /etc/exim.conf ?


    ................................................(cut)

    central_filter:
    driver = forwardfile
    file = /etc/vfilters/${domain}
    no_check_local_user
    no_verify
    filter
    file_transport = address_file
    pipe_transport = virtual_address_pipe

    ...............................................(cut)

    If so, and if permissions are 100% ok, there isn't much else to look at... I can't imagine how the easyapache script has any bearing here, unless somehow your compilers were screwed and and their upgrade/reinstallation affected exim in some way.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  5. #5
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default

    The exim.conf file seems ok. I checked the section you suggested and it is exactly as you showed it in your example.

    I also checked the /etc/vfilter/domain.com file and it shows this:


    ---------------------------------------------
    # Exim filter

    if error_message then finish endif

    if
    $header_to: is &user@domain.com&
    then
    save /dev/null
    endif
    ----------------------------------------------

    I checked the /dev/null file and it looks like this:

    root@saturn [/dev]# ls -la null
    crw-rw-rw- 1 root root 1, 3 Aug 30 2001 null

    ----------------------------------------------

    Should the owner/group on that file be set to root, and are the permissions correct for that file?

    Is there an error file for exim that I could examine to try and trace what's happening?

    Is there a CPanel method for updating/reinstalling exim in such a way that it wouldn't effect any of the users?
    Chad E. Roadhouse

  6. #6
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default

    Well, I hate to say this, but here is what I was setting the filter up as, and my client did the same thing...

    $header_to: is (equals) &user@domain.com&

    That doesn't work... But if you do it like this it does:

    $header_to: contains &user@domain.com&


    I'm not sure why the first one wouldn't work. My apologies!!! Thanks Trevor!!! I appreicate it!
    Chad E. Roadhouse

Similar Threads & Tags
Similar threads

  1. Testing of Email Filters Not Working
    By Valetia in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 08-28-2011, 11:35 PM
  2. Some email filters not working
    By FreedomBI in forum E-mail Discussions
    Replies: 2
    Last Post: 08-18-2011, 11:20 PM
  3. Testing of Email Filters Not Working
    By Valetia in forum E-mail Discussions
    Replies: 4
    Last Post: 04-21-2010, 08:59 PM
  4. Help! None of my email filters are working in Cpanel
    By rqsweat in forum E-mail Discussions
    Replies: 2
    Last Post: 10-26-2007, 02:09 PM
  5. Restore (email) Filters - Not Working?
    By Goya in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-26-2004, 10:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube