TechSpace Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

Automatically copy incoming/outgoing emails to another mailbox in EXIM

Views: 512
Votes: 1
Posted: 09 Jan, 2017
by: Liaw E.
Updated: 10 Jan, 2017
by: Liaw E.

1. Login to server via SSH

2. Goto: /usr/local/cpanel/etc/exim/sysfilter/options/

3. Create and Exim filter and give it a name, say 'myFilter'

4. add the following code in 'myFilter':


if ("$h_to:, $h_cc:, $h_bcc" contains "")

  unseen deliver ""

if $sender_address: contains ""
unseen deliver ""

5. Enable the new Exim filter by loggin in to WHM->Exim Configuration Manager > Basic Editor > Filters.

6. Scroll down a bit where you’ll see “Custom Filter: X” where X is the name of the custom filter file you created.

7. Now set it to “On” and click “Save” which will save the settings and the server will automatically restart the Exim service for the changes to be effective.

Others in this Category
document Install Exchange Server 2013 in Windows Server 2012
document How To Configure Google GSuite Split Delivery for cPanel?
document Mail delivery failed: LMTP error after RCPT TO, 550 5.1.1, User doesn't exist