#46 (permalink)  
Old 09-08-2008, 04:37 PM
sehh's Avatar
Registered User
 
Join Date: Feb 2006
Location: Europe
Posts: 383
sehh is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 09-23-2008, 10:57 AM
fenixer's Avatar
Registered User
 
Join Date: Feb 2007
Posts: 92
fenixer is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 10-13-2008, 06:09 PM
fenixer's Avatar
Registered User
 
Join Date: Feb 2007
Posts: 92
fenixer is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 11-24-2008, 03:48 AM
devilsoulblack's Avatar
Registered User
 
Join Date: Mar 2007
Posts: 11
devilsoulblack is on a distinguished road
thanks for shared the code
__________________
Alfredo Andaluz Prado
Ihostmarket "Advanced Hosting Solutions"
IHM
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 09-16-2009, 10:08 AM
Registered User
 
Join Date: Sep 2005
Posts: 11
tukaramg is on a distinguished road
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


Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #51 (permalink)  
Old 02-17-2010, 10:02 AM
Registered User
 
Join Date: Nov 2004
Posts: 15
TapanB is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #52 (permalink)  
Old 02-25-2010, 10:39 PM
Registered User
 
Join Date: Jan 2004
Posts: 672
Lyttek is on a distinguished road
If you're going to do this for more than one domain:

Incoming/Outgoing email copy

Quote:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc