Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Email filtering

by scottstef (Curate)
on Apr 15, 2002 at 21:22 UTC ( #159332=note: print w/replies, xml ) Need Help??

in reply to Email filtering

Just a word of warning before you go and automate using rbl's and the such. In theory they are great, however, they do have their flaws. I have seen mail servers get black listed due to their configurations that made them look like an open relay when in fact they were not. With the RBL's, they just run a quick scan to see if a server will accept anonymous connections. They do not check to see what happens with that connection after it is received (if it is thrown out or not). This may cause you to miss some important emails from people that are incorrectly listed by rbl's. I would suggest filtering purely on content (such as see britney..., get your degree... and the such.) rather than a black hole which can incorrectly filter out email that does not meet their specifications.

"The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol." -- Larry Wall

Replies are listed 'Best First'.
Re: Re: Email filtering
by John M. Dlugosz (Monsignor) on Apr 25, 2002 at 21:56 UTC
    I plan on using a write-back technique where the robot sends mail back to the sender, asking to validate the address by simply replying or clicking a URL.

    So if someone who happens to have an ISP that's blacklisted by the ORB writes me a message entitled "URGENT FIX !!!" about using my shareware library to calculate low home mortgages, then it still won't be a Black Hole, but will delay to validate the sender has a proper return address and is a real person not a bulk mailer.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159332]
[Lady_Aleena]: Why does grep(/.*$in.*/, @my_modules) work but grep { $_ =~ /.*$in.*/; $_ } @my_modules not work? What did I do wrong in the second?
[tobyink]: Why are you returning $_ n your grep block? You should return a boolean.
[tobyink]: *in your grep block
[tobyink]: You can use grep { $_ =~ /.*$in.*/; } @my_modules but why not stick to grep(/.*$in.*/, @my_modules)? (The latter is faster.)
[shmem]: Lady_Aleena, in the first example grep evaluates the result from grep and if true, returns $_. In the second, it always returns $_
[shmem]: ..the result from the pattern match
[Lady_Aleena]: tobyink, I did after I failed to get the BLOCK to work. I can't seem to get my brain around grep BLOCK, though I'm okay with grep EXPR.
[shmem]: so in the second example grep returns all true elements of the list passed

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-05-27 07:40 GMT
Find Nodes?
    Voting Booth?