07 July 2006

Free emails

At doschranky.cz, we allow to send text you want to have printed on a postcard with e-mail. It did not look like a problem, until somebody got postcard with message: "Scanned with AVG, 0 viruses found."

The system is fully automatic, but now it looks like we will have to check all texts by hand. Antivirus software and some free emails adds various text at the end of each email.

I am trying to figure out, how to discover text not added by user, but manual check will be the best fix at least for now.

2 comments:

Michal said...

In some RFC standards defining the email protocols/formats, there is somewhere written (I don't remember where, but it should not be hard to find), that two minus characters (--) at the beginning of line in email mark the start of signature. This was originally designed to allow email clients to omit the signature when replying - so that the conversation does not contain bunch of signatures in the bottom.

Althought it seems that nowdays most clients don't support this, it still seems that most antiviruses and freemail adds do follow the rule that the extra text begins with line of -- or __ - so you can use this for signature detection.

Tomas Zeman said...

look like good advise, i will look at that. thanks

There was an error in this gadget