[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes in Headers in RMAIL
From: |
jpff |
Subject: |
Changes in Headers in RMAIL |
Date: |
Wed, 15 Nov 2006 17:59:21 +0000 |
For some time I have had a mail filter that works by looking at the
headers. The problem is that with the new version the particular
headers seem not to be searchable.
In particular
(defun rmail-file-filtering-mail-hook ()
"Hook to file mail and label spam etc automatically"
.....
(setq x-rbl (mail-fetch-field "X-RBL-Warning"))
.....
((or x-rbl ; Sites on RBL
(string-match "rbl-plus.mail-abuse.ja.net" x-warning)
(string-match "zen.spamhaus.org" x-warning))
(let ((ss rmail-delete-after-output))
....
(rmail-set-attribute "deleted" t)
.....
but the X_RBL-Warning header is not found despite being there
X-Coding-System: undecided-unix
Return-Path: <address@hidden>
Received: from murder ([unix socket])
by air (Cyrus v2.2.12) with LMTPA;
Wed, 15 Nov 2006 11:36:27 +0000
X-Sieve: CMU Sieve 2.2
Envelope-to: address@hidden
Delivery-date: Wed, 15 Nov 2006 11:36:27 +0000
Received: from water.cs.bath.ac.uk ([138.38.108.4])
by air.cs.bath.ac.uk with esmtp (Exim 4.60)
(envelope-from <address@hidden>)
id 1GkJ45-0001Lz-6h
for address@hidden; Wed, 15 Nov 2006 11:36:27 +0000
Received: from bl7-207-55.dsl.telepac.pt ([85.240.207.55]
helo=contactdirect.net)
by water.cs.bath.ac.uk with smtp (Exim 4.60)
(envelope-from <address@hidden>)
id 1GkJ41-000232-N7
for address@hidden; Wed, 15 Nov 2006 11:36:24 +0000
Message-ID: <address@hidden>
Reply-To: "Antigonus Bostick" <address@hidden>
From: "Antigonus Bostick" <address@hidden>
To: address@hidden
Subject: Re: news 672
Date: Wed, 15 Nov 2006 03:34:15 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0001_01C70866.EC7697F0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-RBL-Warning: 85.240.207.55 is in a black list at zen.spamhaus.org (water)
......
I am assuming that something has changed in this area but am not sure
where to start to look. I tried changing the customisation variable
rmail-nonignored-headers
but it made no difference.
In GNU Emacs 22.0.90.4 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-11-15 on xenakis
X server distributor `The X.Org Foundation', version 11.0.60900000
configured using `configure 'CFLAGS=-g' '--with-x-toolkit=yes' '--with-xpm'
'--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
eldoc-mode: t
auto-image-file-mode: t
show-paren-mode: t
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
y <down> h <help-echo> <up> <up> <down-mouse-1> <mouse-1>
<up> p <help-echo> <help-echo> C-x C-f m a i l - f
<tab> <return> <help-echo> <down-mouse-1> <mouse-1>
<help-echo> <menu-bar> <emacs-lisp> <edebug-defun>
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> C-x b <return> n
d p p p q y M-m C-x k <return> M-m C-x k <return> M-x
e m a <tab> b <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> b <tab>
u <tab> <backspace> <backspace> r e <tab> m <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> p o <tab> r t <tab> <return>
Recent messages:
Parsing /bigdisk/jpff/.mailrc... done
Making completion list...
Fontifying *Completions*... (syntactically...)
Making completion list...
Fontifying *Completions*... (syntactically...)
Making completion list...
Fontifying *Completions*... (syntactically...)
Making completion list...
Fontifying *Completions*... (syntactically...)
Loading emacsbug...done
==John ffitch
- Changes in Headers in RMAIL,
jpff <=