#1 (permalink)  
Old 04-10-2008, 11:53 PM
devilsoulblack's Avatar
Registered User
 
Join Date: Mar 2007
Posts: 11
devilsoulblack is on a distinguished road
mail filter problem on cpanel

hi all

today i try to make a email filter using cpanel options but dont work this its the code

Code:
if first_delivery
and ( ("$header_from:" contains "id@dominio.com")
or ("$header_from:" contains "id1@dominio.com")
or ("$header_from:" contains "id2@dominio.com")
)
then
unseen deliver "id3@dominio.com"
endif
and Also

Code:
if
 $header_from: contains "id@dominio.com"
then
 deliver "id3@dominio.com"
endif
the main idea its all outgoing mail from id@dominio.com must be
send a copy (bcc) to id3@dominio.com

any idea ?
__________________
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
  #2 (permalink)  
Old 04-30-2008, 04:46 AM
Registered User
 
Join Date: Feb 2008
Posts: 9
yantomulia is on a distinguished road
hi devil,

you can try this

if first_delivery
and ("$h_from:" contains "id@dominio.com")
and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin")
then
unseen deliver "id3@dominio.com"
endif

Last edited by yantomulia; 04-30-2008 at 06:05 AM.
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 10:02 AM.


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