save email filter list to re-use?

KMK Enterprises

Well-Known Member
Feb 7, 2005
52
0
156
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.:)
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.
 

Kasper

Active Member
Aug 26, 2004
28
0
151
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