>Where I should exactly past the characters in the GUI?
If you want to block with a regex that checks the header/sender of a mail,
'bombHeaderRe' and/or 'bombSenderRe' will be the right place.
>Meanwhile I could use this regex: "From: =\?utf-8\?B\?[56789]"
This regex would block ALL utf-8/Base64 encoded sender description!
Hmmm.... ??? At least it will not work in 'bombHeaderRe' and/or
'bombSenderRe' - it will only work in 'preHeaderRe'
notice: the header parts will be completely decoded in to Perl unicode
before the regex ('bombHeaderRe' and/or 'bombSenderRe') take place - so
the regex "From: =\?utf-8\?B\?[56789]" will never match. This is done,
because the next message could use for example "from: '=?GB2312?B?.....?='
were the decoded name is the same like before (in utf-8).
You can use unicode point definitions in the regular expression like
\p{InHanunoo}..... - but I think you better look for a more easy pattern
to detect such mails.
Thomas
Von: Alessandro Cattani <[email protected]>
An: For Users of ASSP <[email protected]>,
Datum: 25.06.2013 17:34
Betreff: Re: [Assp-user] Regex to block chinese characters
Thank you. I will switch to V2 soon.
Where I should exactly past the characters in the GUI?
Meanwhile I could use this regex: "From: =\?utf-8\?B\?[56789]"
because all the spam has this header structure:
From: =?utf-8?B?5YWz5rSq5a+M?= <[email protected]>
Alessandro
El 25/06/2013 07:37 a.m., Thomas Eckardt escribió:
> If you use V2, it is possible to copy and past the characters in the GUI
-
> assp will make the right things for you.
> You may try the same in V1 - I don't know if it works.
>
> Thomas
>
>
>
>
>
>
> Von: Alessandro Cattani <[email protected]>
> An: For Users of ASSP <[email protected]>,
> Datum: 25.06.2013 11:12
> Betreff: [Assp-user] Regex to block chinese characters
>
>
>
> Hi,
>
> Any good regex to block chinese spam like this example:
>
> Subject: ????????????-???
>
> In header appears as:
>
> Subject:
>
=?utf-8?B?5o+S5YWl5q2j5aSa6L655b2i5ZKM5byC5b2i5aSa6L655b2iLeebiuenkuS6kQ==?=
>
> Thank you,
> Alessandro
>
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential,
legally
> privileged and protected in law and are intended solely for the use of
the
>
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
>
>
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
>
>
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user