howto deacticate spamassassin for one domain or one email ?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
Thomas Parvais
Normal user
Normal user
Posts: 111
Joined: 2004-12-17 12:21
Contact:

howto deacticate spamassassin for one domain or one email ?

Post by Thomas Parvais » 2013-03-13 14:51

Hello

one of my customer would like that spammassassin test is skipped for some of its email address.
He does not want to manage false positive and true negative...

Is this possible ?

Thank you

Thomas
Interrested by Law & new technologies ?
Intéressé par le droit de l'internet et des nouvelles technologies ?
Visit/Visitez http://www.droit-technologie.org

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: howto deacticate spamassassin for one domain or one emai

Post by Bill48105 » 2013-03-13 17:12

Thomas Parvais wrote:Hello

one of my customer would like that spammassassin test is skipped for some of its email address.
He does not want to manage false positive and true negative...

Is this possible ?

Thank you

Thomas
Does he have a unique IP address connected to hmail? If so you can create an IP range & uncheck spam checks but that'll only be helpful if you can differentiate him from other people via IP.

A better approach might be to add their email address to your SA config file as a whitelist such as:
whitelist_to add@ress.com
If the given address appears as a recipient in the message headers (Resent-To, To, Cc, obvious envelope recipient, etc.) the mail will be whitelisted. Useful if you're deploying SpamAssassin system-wide, and don't want some users to have their mail filtered. Same format as whitelist_from.
http://spamassassin.apache.org/full/3.1 ... _Conf.html

Check out the various settings in the SA docs.
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

Thomas Parvais
Normal user
Normal user
Posts: 111
Joined: 2004-12-17 12:21
Contact:

Re: howto deacticate spamassassin for one domain or one emai

Post by Thomas Parvais » 2013-03-13 18:37

great thank you

I was not aware on this SpamAssassin option

whitelist_to email@domain.ttl in spamassassin config file

ideally, would be nice if this the end user can manage the addition of this automatically via web mgnt interface...

Thomas
Interrested by Law & new technologies ?
Intéressé par le droit de l'internet et des nouvelles technologies ?
Visit/Visitez http://www.droit-technologie.org

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: howto deacticate spamassassin for one domain or one emai

Post by Bill48105 » 2013-03-13 19:43

Thomas Parvais wrote:great thank you

I was not aware on this SpamAssassin option

whitelist_to email@domain.ttl in spamassassin config file

ideally, would be nice if this the end user can manage the addition of this automatically via web mgnt interface...

Thomas
Yeah SA has tons of settings people don't use.

There are SA web admins but it would be nice if hmail had way to control it but unfortunately it does not and unlikely to any time soon.
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

Post Reply