The config-dir feature allows you to change spamdyke's configuration 
based on the remote IP address, the remote rDNS name, the sender 
address, the recipient address or any combination of those things.  You 
can use it to make spamdyke more or less restrictive according to your 
needs.

Your example is easy to do.  First, create a config-dir structure for 
your domain (e.g. example.com):
    /etc/spamdyke.d/_recipient_/com
Create a file using your domain's name:
    /etc/spamdyke.d/_recipient_/com/example
In that file, turn off the filters you don't want to use for that domain:
    reject-empty-rdns=0
    reject-unresolvable-rdns=0
    reject-missing-sender-mx=0
    reject-ip-in-cc-rdns=0
    dns-blacklist-entry=!!!
    etc
In your global configuration file, add the config-dir option:
    config-dir=/etc/spamdyke.d

That's it.

-- Sam Clippinger

Greg Cirelle Enterprises wrote:
> I'm just now trying to utilize the config-dir directive.
>
> is the config-dir directive mainly for further restricting mail
> above what is in spamdyke.conf or is it possible to be
> less restrictive overall, without whitelisting the recipient?
>
> for example:
>
> the main config file is fairly restrictive with say:
>
> reject-empty-rdns
> reject-unresolvable-rdns
> reject-missing-sender-mx
> reject-ip-in-cc-rdns
> 2 dns-blacklists
> and a variety of whitelist/blacklist files
>
> but I just want a single domain to only use the
> reject-ip-in-cc-rdns directive.
>
> is this possible?
>
>   
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to