Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: PGP encrypted.

11 views
Skip to first unread message

Thor Kottelin

unread,
May 1, 2012, 3:10:32 PM5/1/12
to
"????? ???????" <nii...@yahoo.com> wrote in message
news:jnpbir$f2h$1...@speranza.aioe.org...
> How can I test if incoming message from some email is PGP encrypted?

Perhaps you could check for the appropriate armor header? The details are
available in RFC 4880.

--
Thor Kottelin
http://www.anta.net/

Убить спамера

unread,
May 1, 2012, 3:48:16 PM5/1/12
to
Вт., 01 мая 2012 22:10:32 числа в группе comp.mail.misc Thor Kottelin <th...@anta.net> написал:
>> How can I test if incoming message from some email is PGP encrypted?
>
> Perhaps you could check for the appropriate armor header? The details are
> available in RFC 4880.

multipart/encrypted;
I need to test it with procmail.

--
Origin: Капитализм без банкротства - все равно что христианство без
преисподней. Борман Франк.

Robert Bonomi

unread,
May 2, 2012, 5:00:08 AM5/2/12
to
<d...@null.id> wrote:
> Thor Kottelin wrote:
>><d...@null.id> wrote:
>>> How can I test if incoming message from some email is PGP encrypted?
>>
>> Perhaps you could check for the appropriate armor header? The details are
>> available in RFC 4880.
>
>multipart/encrypted;
>I need to test it with procmail.

You mean, something like:

:0 chH
* ! ^Contet-Type: multipart/encrypted
/dev/null

If you can't figure out how to come up with such a test, you *really* need
to RTFM. 'man procmailrc' is a good starting point. <grin>

Убить спамера

unread,
May 2, 2012, 11:30:58 AM5/2/12
to
>>>> How can I test if incoming message from some email is PGP encrypted?
>>>
>>> Perhaps you could check for the appropriate armor header? The details are
>>> available in RFC 4880.
>>
>>multipart/encrypted;
>>I need to test it with procmail.
>
> You mean, something like:
>
> :0 chH
> * ! ^Contet-Type: multipart/encrypted
> /dev/null
Almost yes.

:0
* ^From:.*JJJ@nnn\.nnn|^From:.*JJJJJJJJJJ@nnnnn\.nnn|^From:.*JJJJJJJJJJJJ@nnnnnn\.nn
* ! ^Content-Type: .*multipart/encrypted;|! ^Content-Type: .*application/pgp;
/dev/null

--
Origin: Да - я в ладье. Меня разлив не тронет! Но как мне жить, когда народ мой
тонет? - Саади
0 new messages