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!

Copy Account Level Filters

Discussion in 'E-mail Discussion' started by StoneyCreeker, Nov 12, 2008.

  1. StoneyCreeker

    StoneyCreeker Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    53
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Upper-East TN
    cPanel Access Level:
    Root Administrator
    I have 32 accounts in WHM. I am working on setting up Account Level Filters to block common spam email. It works great on one account. Is there a way to copy them from one domain's cpanel account to another domain's cpanel via FTP so I don't have to type them out 32 times?

    WHM 11.23.2 cPanel 11.23.6-S27698
    CENTOS Enterprise 4.7 i686 on standard - WHM X v3.1.0

    My reseller account is with Hostgator.

    Thank You!
     
  2. lngtanseco

    lngtanseco Well-Known Member

    Joined:
    Jun 9, 2006
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    156
    You may want to consider writing the filter on this file /etc/cpanel_exim_system_filter (maybe different if you changed the default). It would take effect to all accounts immediately.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. StoneyCreeker

    StoneyCreeker Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    53
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Upper-East TN
    cPanel Access Level:
    Root Administrator
    Copy Account Filters

    I do not have that file in my main resellers domain /etc directory.
    I am on virtual/shared hosting, maybe I don't have access.

    I found an example filter online and read it.
    I think this file exists somewhere in my account because the exact "fail text" messages show up when I try to send an invalid attachment to myself on my resellers account. Maybe if I was on a dedicated server I would have access because on a virtual server I share a mail server with others.

    Here is the header of the email I sent and received with the invalid test attachment:
    =====================================
    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    curtis@-----.com
    This message has been rejected because it has
    a potentially executable attachment "SandboxieInstall.exe"
    This form of attachment has been used by
    recent viruses or other malware.
    If you meant to send this file then please
    package it up as a zip file and resend it.

    ------ This is a copy of the message, including all the headers. ------
    ------ The body of the message is 594808 characters long; only the first
    ------ 106496 or so are included here.

    Return-path: <curtis@-----.com>
    Received: from [74.5.217.130] (port=14734 helo=StoneyMain)
    by bentley.websitewelcome.com with esmtpa (Exim 4.68)
    (envelope-from <curtis@-----.com>)
    id 1L0dOx-0003p2-6u
    for curtis@-----.com; Thu, 13 Nov 2008 08:42:42 -0600
    From: "Curtis Walter" <curtis@-----.com>
    To: "Curtiswalter" <curtis@-----.com>
    ===============================

    Thank You for your suggestion.
     
    #3 StoneyCreeker, Nov 13, 2008
    Last edited: Nov 13, 2008
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