From: Norman Walsh <ndw@nwalsh.com>
Cc: ding@gnus.org
Subject: Re: nnml splitting on encoded headers
Date: Tue, 28 May 2002 16:45:31 -0400 [thread overview]
Message-ID: <87off09f2s.fsf@nwalsh.com> (raw)
In-Reply-To: <wf1661dz57w.fsf@svelte.home> (Mark Thomas's message of "Fri, 24 May 2002 16:10:06 -0400")
/ Mark Thomas <swoon@bellatlantic.net> was heard to say:
| I'd like to toss away mail that I know I'm not going to be able to
| read.
|
| I have split rules:
| ("subject" "=\\?euc-kr\\?" "mail.spam.asian")
| ("subject" "=\\?ks_c_5601-1987\\?" "mail.spam.asian")
| but these don't to work because Gnus has already decoded the messages.
/ Mark Thomas <swoon@bellatlantic.net> was heard to say:
| To answer my own question
|
| > Is there any way I can split on the non-decoded Subject header (the
| > Subject header I see when I C-u g the message)?
|
| (add-hook 'nnmail-split-hook 'rfc2047-encode-message-header)
These messages hint at a feature I would dearly love to have: the
ability to avoid mail in character sets I can't read. But I'm confused
by one part.
Looking at some representative asian spam on my machine, C-u g doesn't
display the encoding in the subject, instead I see things like this:
Message-Id: <200205281859.OAA05629@nexus.berkshire.net>
Reply-To: no@kojein.com
From: ¿¹½º¸Ç<yes@kojein.com>
To: ndw@nwalsh.com
Subject: (±¸ÀÎ,±¤°í)ÀçÅþ˹٠ÇϽǺÐ
Mime-Version: 1.0
Content-Type: text/html; charset="ks_c_5601-1987"
Do the split rules shown above really match on the charset described
in Content-Type, or is there some other switch I have to enable to
make that appear literally in the subject?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Youth lasts much longer than young
http://nwalsh.com/ | people think.--Comtesse Diane
next prev parent reply other threads:[~2002-05-28 20:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-24 20:10 Mark Thomas
2002-05-25 12:35 ` Mark Thomas
2002-05-25 17:25 ` Kai Großjohann
2002-05-26 0:00 ` Russ Allbery
2002-05-26 12:32 ` Mark Thomas
2002-05-30 22:21 ` Russ Allbery
2002-06-03 3:34 ` Jesper Harder
2002-06-03 17:52 ` Simon Josefsson
2002-06-03 19:41 ` Kai Großjohann
2002-06-03 19:48 ` Simon Josefsson
2002-06-03 20:04 ` Russ Allbery
2002-05-28 20:45 ` Norman Walsh [this message]
2002-05-28 22:17 ` Mark Thomas
2002-05-29 0:31 ` Russ Allbery
2002-05-29 7:39 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87off09f2s.fsf@nwalsh.com \
--to=ndw@nwalsh.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).