The only (small) concern is putting the "testdomain.com" folder within 
the "domain_setup" folder.  It won't cause any problems during normal 
operations but spamdyke's "config-test" feature will complain about it 
and generate a lot of noise.  For that reason, you might consider moving 
the "testdomain.com" folder somewhere else.

Other than that, it looks fine to me.

-- Sam Clippinger

David Stiller wrote:
> Hi Sam and users!
>
> Do you think this is a usable structure to be used for per-domain-config's?
>
> domain_setup/
> |-- _recipient_
> |   `-- com
> |       `-- testdomain
> `-- testdomain.com
>     |-- customer_blacklist_ip
>     |-- customer_blacklist_rdns
>     |-- customer_blacklist_sender
>     |-- customer_whitelist_ip
>     `-- customer_whitelist_rdns
>
> In testdomain are the 5 black- and whitelistfiles. So 
> _recipient_/com/testdomain
> is used as a per-domain control file. I've denied the whitelist of 
> senders concerning
> the ease of faking them:
>
> #cat testdomain
> ip-blacklist-file=/var/qmail/spamdyke/domain_setup/testdomain.com/customer_blacklist_ip
> rdns-blacklist-file=/var/qmail/spamdyke/domain_setup/testdomain.com/customer_blacklist_rdns
> ip-whitelist-file=/var/qmail/spamdyke/domain_setup/testdomain.com/customer_whitelist_ip
> rdns-whitelist-file=/var/qmail/spamdyke/domain_setup/testdomain.com/customer_whitelist_rdns
> sender-blacklist-file=/var/qmail/spamdyke/domain_setup/testdomain.com/customer_blacklist_sender
> sender-whitelist-file=!!!
>
> In /etc/spamdyke.conf i've configured "domain_setup" to be used as my 
> config-dir:
>
> config-dir=/var/qmail/spamdyke/domain_setup/
>
> So the customer setups are kept out of the global spamdyke setup. Looks 
> quite logical for me
> and should be easy to be maintained.
>
> -
> David
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to