[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] procmail to score an ISO-8859 subject
- Subject: Re: [vps-mail] procmail to score an ISO-8859 subject
- From: Sikaspam <sikaspam@xxxxxxxxxxx>
- Date: Mon, 09 Feb 2004 21:24:34 +0100
Godwin Stewart wrote:
=?iso-8859-1?b?...........?= ^^^^|^^^^^ ^-- b = base64, q =
quoted-pukable +--------- charset
The mailer has to know what charset is used in order to display the
decoded subject correctly. A character 0x90 in ISO-8859-1 is not
going to be the same character as in KOI8-R for example.
Yes, I knew about the ISO charset, remember I'm the one that wrote some
PHP to send an email reply in Japanese.
Well, you could look for the tell-tale "quoted-printable in subject"
and the *absence* of 8-bit characters. Maybe something like this:
That was the basic idea
:0
* ^Subject:.*=?[^?]+?q
! ^Subject:.*=[89a-f][0-9a-f]
More or less what I did but I'll go back and look at the results. I'm
targeting 8859-1 because that's the one I see. Latin 1 I think.
Also to
educate our clients - when possible, and using as much diplomacy as
possible. I can't see you saying "use another e-mail address,
sh*t-for- brains!" to many of the people you work with :)
No, but every time someone is hired I have to send out the little
warning to everyone about subscribing to online dating mailings on your
company account etc. Let's face it, with non-guessable addresses, there
is only one other way they could get spam and that is if a virus came
out whose goal was to sign you up. Wait a sec, that'd be a great concept
if I ever move over to the other dark side!
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index