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

Reply via email to