Page 1 of 1

Code snippet for Fix-"exclusive sender" functional

PostPosted: Wed Mar 02, 2005 9:45 pm
by vsp
bash-2.05$ diff spameater.pl spameatervsp.pl
419c419,420
< || ".$todomain" =~ /\.$Sender/i)) {
---
> || ".$todomain" =~ /\.$Sender/i
> || $EmailID =~ /^$Sender/i)) {
713a715
>

Hi folks,

Started a new thread for my current favourite gripe :-)

I think something as simple as the snippet above may fix the problem I have been having. Please note that I am not familiar with SQL and not very comfortable with Perl, but I think my change says something like:

If in the SQL table the EmailID entry is identical to the Sender entry (which I assume represents the exclusive sender for that ID), go ahead and send that email without decrementing the count

I have no idea how to test this thing, but I was hoping one of the developers could put together a quick test on the SG test infrastructure

Thanks,
vsp

PostPosted: Sat Mar 05, 2005 10:38 pm
by vsp
Hello.......
Anyone home? :P

Seriously guys,

I really need this functionality to work. ie

Create an ID, make it its own exclusive sender so that it can receive an infinite number of messages from anyone and then if it does start getting spam, get rid of the exclusive sender.

One of the lists I am on is a pretty high volume list, so I am being forced to visit SG practically once every day to bump up the count for that one ID. (On a tangent, bumping up that one number to 200 instead of 20 would be a cool feature - then I could bump it up once a week)

Please do give me some feedback as to whether the fix I proposed will work.

Thanks,
vsp

PostPosted: Mon Mar 07, 2005 3:29 pm
by josh
just put a dot (.) as the exclusive sender - that should do it

PostPosted: Wed Mar 09, 2005 1:32 pm
by vsp
Great news. The '.' as exclusive sender seems to have worked so far. Thanks a lot for your help.

Will keep you posted over the next week or so

Thanks,
vsp