Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Question User level email filter rules are not being enforced

    Hi all,

    I've been lurking for a while and I can't seem to find anyone who has faced the same issue.

    I basically have a set of users with email addresses on our domain, and I don't want these users to send email to recipients who are outside of our domain.

    Essentially I want to only allow these users (in our domain, say "blah.com") to send email to those of "@blah.com", and not outside this.

    I had a think about it and I came across the "user level filtering" tool. I set out to test by going to my email in the list of users, and creating a new rule.

    I created a rule to "fail with message" whenever the recipient field does not contain "@blah.com".

    I test this filter using the Filter Test section, after saving changes. The filter test seems to report that it works.

    Now...here comes the punchline:
    All our users are using an external email client to access their email on our domain, and are not accessing email using cpanel at all. The major email client being used is..Gmail. The next being their iPhones.

    I can confirm right now that the user level filters I created are not being enforced when sending and receiving email via Gmail or iPhone. I wouldn't expect this to occur, since the clients are configured to send via our SMTP server (say, smtp.blah.com).

    I have no idea why this is. Aren't these email filters applied to our SMTP server? So it shouldn't matter what our email client is? Unless the filters only work if the users are using email through cpanel..

    Very strange problem. Would appreciate some guidance.

    Cheers

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    8

    Default Re: User level email filter rules are not being enforced

    Quote Originally Posted by bboydocument View Post
    Hi all,


    I have no idea why this is. Aren't these email filters applied to our SMTP server? So it shouldn't matter what our email client is? Unless the filters only work if the users are using email through cpanel..


    Cheers
    As far as I understand it filters are *only* applied to incoming mail so you can't do anything about outgoing mail with them at all.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Default Re: User level email filter rules are not being enforced

    Damn, what a pity. I got excited when I saw the rules one can create under these filters.

    I suppose there's no other way to achieve rules on outgoing mail?

  4. #4
    Member
    Join Date
    Jan 2011
    Posts
    8

    Default Re: User level email filter rules are not being enforced

    Quote Originally Posted by bboydocument View Post
    Damn, what a pity. I got excited when I saw the rules one can create under these filters.

    I suppose there's no other way to achieve rules on outgoing mail?
    I doubt it. If you think about what's happening there's nowhere to do it really. The user's mail client will connect directly to the SMTP server to send mail and the SMTP server will fire it off to the (off cPanel site) destination. I suppose you could add rules to the SMTP server (exim usually with cPanel I think) but it wouldn't be too easy. Anyway there's absolutely nothing to prevent the user connecting to another mail server and bypassing the cPanel/onsite one completely.

Similar Threads & Tags
Similar threads

  1. Improve user level email filters where a subject header is multi-line
    By creacog in forum Feature Requests for cPanel/WHM
    Replies: 3
    Last Post: 06-07-2011, 10:38 AM
  2. How Do You DISABLE User's Webmail Email Filter?
    By convoluted in forum E-mail Discussions
    Replies: 4
    Last Post: 02-13-2010, 02:41 AM
  3. Account level filter - Deny email with size too large
    By webstyler in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-14-2008, 02:59 AM
  4. Email quotas not enforced
    By idearius in forum E-mail Discussions
    Replies: 0
    Last Post: 11-29-2007, 05:52 AM
  5. SSL - User Level, WHM level don't match.
    By Walker in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-24-2006, 09:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube