That's correct. The configuration directory feature allows you to specify different configurations based on the recipient address, the sender address, the remote IP address, the remote rDNS name or any combination of those items. In the example I gave, it will override the ip-blacklist-entry setting for that one recipient address (or add a sender whitelist entry for that one recipient address, if you use that option).
-- Sam Clippinger On Sep 24, 2013, at 11:08 AM, Denny Jones wrote: > Sam, > > Thanks for the reply. I want to understand what is happening here... > > I think setting it up as you described tells spamdyke to behave like this: > when it see's the user [email protected] either don't block the 66.96. IP > structure or always allow mail from @eigbox.net - depending upon the way i > set it up. Thereby making the rule for blocking 66.96 NOT apply to that user. > > Am I getting this correct? > > Sorry to be do dense - I just want to be clear in my understanding, > Denny > > > > > > -----Original Message----- > From: Sam Clippinger <[email protected]> > To: spamdyke users <[email protected]> > Sent: Mon, Sep 23, 2013 4:29 pm > Subject: Re: [spamdyke-users] Blacklist Delemma > > Sounds like you need to create a configuration directory so you can turn off > the blacklist entry for that one user and leave it turned on for everyone > else. > > If your user's email address is [email protected], create a folder > structure like this: > /var/qmail/spamdyke/config.d/_recipient_/com/mydomain/_at_ > At the bottom of that folder structure, create a text file named for the > username portion of the email address: > /var/qmail/spamdyke/config.d/_recipient_/com/mydomain/_at_/myuser > Inside that text file, put the spamdyke configuration commands to turn off > the blacklist filter (assuming you added the IP range using > "ip-blacklist-entry"): > ip-blacklist-entry=!66.96. > Or better yet, just whitelist the sender domain (it'll only affect this one > recipient): > [email protected] > Last, add the configuration directory option to your main spamdyke > configuration file: > config-dir=/var/qmail/spamdyke/config.d > > That should do it. > > -- Sam Clippinger > > > > > On Sep 23, 2013, at 4:00 PM, Denny Jones wrote: > >> Hello, >> >> I've got one account (on QmailToaster w/SpamDyke) who gets mail from a >> legitimate sender via the mail servers at eigbox.net. That domain has a >> range of IP's: 66.96.xxx.xxx. >> >> The problem is I also get a ton of spam from this same server (not from that >> sender). When I block "66.96.", It blocks everything. >> >> Things I've tried: >> >> 1. white listing the legitimate sender which I don't like (the sender can be >> spoofed). >> 2. white listing the whole IP (66.96.186.10) that the legitimate sender sent >> from (this works temporarily but will change when the IP rotates). >> >> How can I let mail come trough for this one sender from a "known" spam >> sender but block all the other junk? Ideas? >> >> Thanks, >> Denny >> _______________________________________________ >> 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 > _______________________________________________ > 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
