Having trouble with an Exim Filter copying incoming/outgoing emails.

inshosting

Registered
Jun 25, 2004
4
0
151
Cincinnati, Ohio
Good day, I'm fairly new to Exim & cPanel and i'm in the process of learning the filter language for Exim. Unfortunately i've been give a severe deadline to accomplish this task and having little luck getting things setup.

I'm trying to send a copy of all incoming/outgoing emails to a seperate account [email protected]

I've done a bit of research and have found 2 solutions posted in this forum

1.
unseen deliver [email protected]in


2.
copy_outgoing_remote:
driver = dnslookup
domains = ! +local_domains
condition = /var/spool/mail/archive/${sender_address_local_part}
transport = copy_outgoing
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
unseen

Here is my tansport:

copy_outgoing:
driver = appendfile
maildir_format
directory = /var/spool/mail/archive/${sender_address_local_part}/sent
user = mail
group = mail
mode = 0600


I'm having little luck getting either one of these working properly.

If anyone can help explain the setup of these options i would greatly appreciate it!!! :D

thanks!!