Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Results 46 to 52 of 52
  1. #46
    Member sehh's Avatar
    Join Date
    Feb 2006
    Location
    Europe
    Posts
    461

    Default

    or you can just modify every single file you want (exim.conf, cpanel_exim_system_filter, etc) and then create patch files that get executed when the files get overwritten, pretty simple.

  2. #47
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    Quote Originally Posted by deefour View Post
    We added '/etc/cpanel_exim_system_filter_custom' as the System Filter File in WHM under Exim Configuration Editor, which adds

    system_filter=/etc/cpanel_exim_system_filter_custom

    to our exim.conf, and then put our custom filters there. That file does not get overwritten.
    Could you please exactly define where at WHM Exim Configuration Editor's section did you write this system_filter conf????

    Thanks so much!
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

  3. #48
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    Up up...... someone??? If someone did it, could save me some testing breaks at production servers...

    thanks.
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

  4. #49
    Member devilsoulblack's Avatar
    Join Date
    Mar 2007
    Posts
    14

    Default

    thanks for shared the code
    Alfredo Andaluz Prado
    Ihostmarket "Advanced Hosting Solutions"
    IHM

  5. #50
    Member
    Join Date
    Sep 2005
    Posts
    15

    Thumbs up

    Hello,

    You can filter your outgoing emails and collect them on one monitoing email address by adding rules in /etc/cpanel_exim_system_filter


    if $header_from contains "@domain.com"
    then
    unseen deliver monitoring@domain.com
    endif
    then restart exim service on server.

    and check be sending emails from any email account all will get collected at monitoring@domain.com

  6. #51
    Member
    Join Date
    Nov 2004
    Posts
    25

    Default

    Quote Originally Posted by anand View Post
    The below catches all incoming as well as outgoing messages for a domain.

    PHP Code:
    if first_delivery
       
    and ("$h_to:, $h_cc:" contains "@domain.com")
       or (
    "$h_from:" contains "@domain.com")
    then
       unseen deliver 
    "all-catcher@domain.com"
    endif 
    For just catching all incoming use the following:

    PHP Code:
    if first_delivery
       
    and ("$h_to:, $h_cc:" contains "@domain.com")
    then
       unseen deliver 
    "incoming-catcher@domain.com"
    endif 
    Similarly for catching only all outgoing

    PHP Code:
    if first_delivery
       
    and ("$h_from:" contains "@domain.com")
    then
       unseen deliver 
    "outgoing-catcher@domain.com"
    endif 
    Hi,

    Can anyone please tell me where to put this code in /etc/antivirus.exim file ?

    Thanks.

  7. #52
    Member
    Join Date
    Jan 2004
    Posts
    755

    Default

    If you're going to do this for more than one domain:

    http://forums.cpanel.net/f43/incomin...py-112685.html

    I highly recommend using the mailscanner stuff that configserver.com provides.

    In any case, if you go this route, it's as simple as using the mailscanner 'archive' features to capture the email and forward it thusly:

    in the 'archive.rules' file:

    FromOrTo: *origin-domain.com address@sent-to-domain.com

    This grabs email that is addressed From or To any address of origin-domain.com and sends it to address@sent-to-domain.com

+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Similar Threads & Tags
Similar threads

  1. Is SpamAssassin scanning outgoing mails?
    By Kent Brockman in forum E-mail Discussions
    Replies: 0
    Last Post: 07-11-2008, 06:32 PM
  2. copy of outgoing mails ???
    By furquan in forum E-mail Discussions
    Replies: 2
    Last Post: 03-15-2008, 07:13 AM
  3. extend the outgoing mails
    By Vinu007 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-02-2008, 08:04 AM
  4. Filter to copy outgoing e-mails.
    By Pringle9984 in forum E-mail Discussions
    Replies: 0
    Last Post: 06-26-2007, 10:13 AM
  5. Redirect outgoing mails ???
    By furquan in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-28-2007, 06:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube