Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2007
    Posts
    6

    Default Archive incoming and outgoing emails on per-domain basis

    How do I configure Exim to append all incoming and outgoing emails for a selected domain to a single account for archival? One of my customers has requested that all email (200+ users, 3 domains) sent or received by our server is archived for compliance.

    I've tried the suggestions at:
    http://www.devco.net/archives/2006/0...using_exim.php
    to capture mail, but although the Exim config file passes the checks any test messages I've sent (using Squirrelmail on the same server) haven't been delivered to the archive.

    System spec:
    Exim 4
    cPanel 11.24.4-C34331 - WHM 11.24.2 - X 3.9
    CENTOS 4.4 x86_64 on standard

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    6

    Default

    For outgoing mail sent through local SMTP server, simply adding:

    if $sender_address_domain is {domain}.{tld}
    then
    unseen deliver archive@{domain}.{tld}
    endif

    To the bottom of the /etc/cpanel_exim_system_filter file silently copies all sent mail from users in the specified domain to a specified mail user for archival, and then continues to deliver the mail as normal.

    Anyone have a better solution?

Similar Threads & Tags
Similar threads

  1. Hidden copies of incoming and outgoing emails
    By phenixak in forum E-mail Discussions
    Replies: 20
    Last Post: 12-08-2011, 02:17 AM
  2. Replies: 3
    Last Post: 09-09-2010, 04:49 AM
  3. Archive : outgoing and incoming message on one administrator
    By amitgaur78 in forum E-mail Discussions
    Replies: 0
    Last Post: 04-05-2009, 01:00 PM
  4. directing incoming and outgoing mails of a domain to a mailbox
    By lawrence.dcosta in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-26-2006, 10:45 AM
  5. Having trouble with an Exim Filter copying incoming/outgoing emails.
    By inshosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-28-2004, 01:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube