Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Script to disable antispam
PostPosted: 2009-03-03 15:01 
Normal user

Joined: 2005-09-12 11:57
Posts: 40
Location: Marseille - France
Hello,

I don't find exactly what I want to do on the forum. I would like to disable the entire spam protection when the sender (From:) of an e-mail has the address example@example.com and also when the recipient (To:) of an other e-mail has the address xxx@example.com. In fact I would like to disable the antispam for all mails sended or received by this e-mail address.

Can the White listing feature resolves my problem ? I don't think because in the documentation it is written ("for specific senders"). So it resolves only the case From: example@example.com, no ?

Can you help me to do the script ? I think I have to test the values FromAddress and To but how to disable antispam only for this mail treatment?

Thanks


Last edited by Julien@TLD on 2009-03-03 16:00, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Script to disable antispam
PostPosted: 2009-03-03 15:36 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
You can wildcard domains in the whitelist *@domain.com will match any and all user from that domain.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Script to disable antispam
PostPosted: 2009-03-03 15:58 
Normal user

Joined: 2005-09-12 11:57
Posts: 40
Location: Marseille - France
Thanks DooM for your answer.

I know that I can use a wildcard but it's not what I want to do. I have just one e-mail address on my hMailserver for which I want to disable the antispam (using xxx was not a good example in my previous post). Replaced it by example@example.com.

So ok, I can put it in the White list but if I have well understood the documentation White listing applies only for the senders addresses.

I want also to disable antispam for messages which are received by this same account.


Top
 Profile  
 
 Post subject: Re: Script to disable antispam
PostPosted: 2009-03-03 17:56 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
Enable anti spam but only modify headers then setup a global rule to delete all mail that is not to this guys email address that contains spam header.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Script to sending mails always in whitelist
PostPosted: 2010-09-23 11:49 
New user
New user

Joined: 2010-09-23 11:11
Posts: 1
I want that all the email accounts of my server are included in my whitelist. I configured the white list putting them:

For all
X.X.X.X (the IP of my server)
X.X.X.X (the same IP)
*

I use the wildcard "*", but I don't sure that it running, because some of my customers sends mails between them, and all of the mails have the text [SPAM] in the subject (one rule I created in hMailServer) when they received them.

I have more than 500 domains, and I prefer to make a global action, not an action in each domain.

Thank you.


Top
 Profile  
 
 Post subject: Re: Script to sending mails always in whitelist
PostPosted: 2010-09-25 00:53 
Moderator
User avatar

Joined: 2007-06-14 05:12
Posts: 9385
Location: 'The Outback' Australia
aitor-gasteiz wrote:
I want that all the email accounts of my server are included in my whitelist. I configured the white list putting them:

For all
X.X.X.X (the IP of my server)
X.X.X.X (the same IP)
*

I use the wildcard "*", but I don't sure that it running, because some of my customers sends mails between them, and all of the mails have the text [SPAM] in the subject (one rule I created in hMailServer) when they received them.

I have more than 500 domains, and I prefer to make a global action, not an action in each domain.

This will only whitelist mail where the mail client is on your server...

perhaps you could script a solution that automatically adds all local domains to the whitelist using 0.0.0.0 >> 255.255.255.255 *@domain.com

_________________
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
Documentation


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group