Code snippet for Fix-"exclusive sender" functional

Discussion re sg development. You don't have to be a developer.

Code snippet for Fix-"exclusive sender" functional

Postby vsp » Wed Mar 02, 2005 9:45 pm

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
vsp
 
Posts: 33
Joined: Thu Mar 04, 2004 3:24 pm

Postby vsp » Sat Mar 05, 2005 10:38 pm

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
vsp
 
Posts: 33
Joined: Thu Mar 04, 2004 3:24 pm

Postby josh » Mon Mar 07, 2005 3:29 pm

just put a dot (.) as the exclusive sender - that should do it
josh
 
Posts: 1371
Joined: Fri Aug 29, 2003 2:28 pm

Postby vsp » Wed Mar 09, 2005 1:32 pm

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
vsp
 
Posts: 33
Joined: Thu Mar 04, 2004 3:24 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 13 guests

cron