Re: RE: ASK confirmation

Rob Nielson <[email protected]> Sun, 18 Jul 2004 19:32:31 -0600
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <004b01c46d30$42ff6c70$0200a8c0@WorkLaptop>
See my responses embedded below:

> I considered this option in the early stages of development, but decided
> to use the "Subject" approach for reasons I don't remember exactly now.
> Let's see if I can remember some of them. Please feel free to add your
> comments:
>
> * Big Emails: What do do with big emails? Do we scan the entire email
> for the key or just, say, the first 100 lines? Scanning the entire email
> means more CPU use, which is bad.

With today's CPU speeds, we're talking about nanoseconds to scan an Email.
If, for the odd event, the Email is exessively huge, then just include the
first 20, 30, 50... or whatever... number of lines. You're saving the
original in the queue anyways, so you don't need to worry about chopping up
the confirmation Email. Make it a point of putting the confirmation at the
top of the body of the Email and that'll help as well.

> * Word wrapping, quoting and others: Some MUAs do *strange* things when
> replying, such as weird quoting, word wrapping in strange places and
> other nasty stuff. If you don't believe, just check your typical "HTML"
> mail coming from Microsoft Out of Luck.

This can be resolved by putting the confirmation code on its own line and
making it short. This avoids word wrapping. Quoting and everything else
should be a non-issue because you do a sub-string search that throws
everything out until it comes to the correct sub-string (ie - "conf'#") ,
then reads the next 'x' number of characters.

> * Mailer-daemon bounces: These usually include the body of the original
> message. If we don't treat them accordingly, we'd end up with a lot of
> "mailer-daemon" addresses in the whitelist (as ASK would think they're
> replies to confirmations).

Comparing the "FROM" line on a confirmed Email with the the one in the queue
should eliminate this.

> Doesn't seem so bad so far...

Agreed! Any other issues you can think of?

Rob Nielson
BYU Football isn't about LIFE and DEATH.
No, it's MUCH more important than that!

Be thankful for problems or idiots would have your job. - Author unknown



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click