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.

save email filter list to re-use?

Discussion in 'E-mail Discussions' started by StoneyCreeker, Oct 17, 2006.

  1. StoneyCreeker

    StoneyCreeker Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    50
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Upper-East TN
    cPanel Access Level:
    Root Administrator
    Is there a way to export/import my email filter list? I have over 100 filters and would like to include them in my other cpanel accounts without re-typing them all in everytime.:)
     
  2. KMK Enterprises

    KMK Enterprises Well-Known Member

    Joined:
    Feb 7, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    I'd be interested in knowing this too. I tried copying and pasting the filters to the /etc/vfilters for each domain, but they only work if actually entered through the cPanel interface.
     
  3. Kasper

    Kasper Active Member

    Joined:
    Aug 26, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago
    You can create a copy of the filter by copying

    /etc/vfilters/domain.com file

    For example, you have your filters configured for domain1.com

    so

    cp /etc/vfilters/domain1.com /etc/vfilters/domain2.com

    Please note, you need to make sure

    /etc/vfilters/domain2.com

    has the correct permissions set ie

    domain2_user.mail

    Thanks
     
Loading...

Share This Page