On 2/2/12 6:14 PM, Eric Shubert wrote:
On 02/02/2012 05:38 PM, Casey Price wrote:
Hi all,
Got an interesting one here...
Recently was asked to whitelist the domain "change.org" for one of my
customers, however I was asked to blacklist the domain by one of our
largest customers several months, as they had been receiving obscene
animal-rights emails from change.org.
I blacklisted it by adding the domain to the blacklist_senders file for
spamdyke...so now the question is, how can I allow mail sent from
change.org to domain1.com, but continue to block mail from change.org
sent to domain2.com?
Is it possible?
Thanks,
Yes. It's not exactly trivial to do, but it can be done using spamdyke
configuration directories.
See http://www.spamdyke.org/documentation/README.html#CONFIGURATION_DIR
Basically, you would set up separate configuration directories for
each domain.
Thanks Eric. So essentially could I set it up so that there was a config
directory for domain1.com, which had a blacklist_senders file for
change.org? If that is the case, would I need a config directory for
every domain? Looks like I'd either want to user the ../_sender_/ or
../_recipient_/ directory. The examples on spamdyke's site look like
they are for individual email addresses. How would I apply it to the
whole domain?
For example...
To create a file using the sender's email address, first create a
directory structure that begins with|_sender_|and contains directories
using the domain portion of the sender's email address with its words
reversed and ending in|_at_|. For example, if the sender's email address
is|[email protected]|, the directory structure should look like this:
|.../_sender_/com/example/home/_at_|
The sender's username is used as the name of the configuration file. For
example:
|.../_sender_/com/example/home/_at_/mom|
So using the example above, how would I create a rule that applied to
the entire @home.example.com domain?
Casey Price
Smile Global Technical Support
Submit or check trouble tickets http://billing.smileglobal.com
www.smileglobal.com <http://www.smileglobal.com>
Follow us on Twitter <https://twitter.com/#%21/SmileInternet>
Find us on Facebook <https://www.facebook.com/smileglobal>