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.

Global Exim Filter

Discussion in 'E-mail Discussions' started by TraderStf, May 13, 2014.

  1. TraderStf

    TraderStf Member

    Joined:
    Feb 27, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Hello,

    Can I use, this "cpanel_exim_system_filter_custom" example, to forward a copy of all outgoing emails of all the domains on the VPS to external emails, like gmail?

    My goal is to backup a copy of ALL outgoing emails.
    No matter how, it can be by FTP the daily "cPanel - Email Archives", by using forward of all outgoing emails or any other automatic process.
    I do not have enough HD space on the VPS to store a lot of "cPanel - Emails archives" daily folders.


    May be this will be more clear.

    IF FROM john@domone.com OR jonny@domtwo.com THEN
    FORWARD A COPY TO johncopy@gmail.com

    IF FROM peter@dom4.com OR peter.sellers@tv.com THEN
    FORWARD A COPY TO greatpeter@coldmail.com

    Each test will be a regular expression (john@domone.com|jonny@domtwo.com)
    so it is easier to maintain.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you considered using the email archive functionality built-in with cPanel? It's documented here:

    Email Archiving

    Otherwise, there are a couple of filter rules suggested in the following thread:

    Copying Incoming/Outgoing Email

    Thank you.
     
Loading...

Share This Page