Gnus development mailing list
 help / color / mirror / Atom feed
* Filtering based on multiline headers.
@ 2003-03-31 23:04 Jorge Godoy
  2003-04-01  2:45 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge Godoy @ 2003-03-31 23:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 863 bytes --]


Hi!


Gnus doesn't filter messages correctly when the header expands to more
than one line. Would it be possible to implement that? I usually
filter Mailman mailing lists based on their list-id header (that's
what it is there for), but when it splits in more than one line, Gnus
get lost and the message is deliverede to my default folder.

The message below is a sample and the filtering rule is:


;; Separate messages in folders
(setq nnmail-split-methods 'nnmail-split-fancy)
(setq nnmail-split-fancy 
      '(| (:nnmail-split-fancy-with-parent)
          (: spam-split)
          ("x-spam-flag" "yes" "spamkill")
          ("x-bogosity" "yes" "spamkill")

          # (...) Several mailing lists here...

          ("list-id" "snapshot-users.distro2.conectiva" "beta")

          # (...) Several other mailing lists here...

          "Default"))



TIA,



[-- Attachment #2: Type: message/rfc822, Size: 6370 bytes --]

From: "João Emanuel" <joaoemanuel@terra.com.br>
To: "snapshot-users" <snapshot-users@distro.conectiva.com.br>
Subject: [snapshot] Erro no som - Parte 2
Date: Sat, 29 Mar 2003 04:09:44 -0200
Message-ID: <HCHYG8$55D91A2572AADF8D1D96007B6905BE44@terra.com.br>

É o seguinte eu não coloquei o erro que acontece quando tento atualizar a 
configuração do som então aí vai, estou usando o alsaconf do snap: 
 
Loading driver.. 
Starting sound driver: snd-via82xx Warning: ignoring snd_major=116, no 
such parameter in this module 
Warning: ignoring snd_cards_limit=1, no such parameter in this module 
Warning: ignoring snd_device_mode=0666, no such parameter in this 
module 
Module snd loaded, with warnings  
Module snd-ac97-codec loaded, with warnings  
Module snd-seq-device loaded, with warnings  
Module snd-rawmidi loaded, with warnings 
Module snd-mpu401-uart loaded, with warnings 
Module snd-page-alloc loaded, with warnings 
Module snd-timer loaded, with warnings  
Module snd-pcm loaded, with warnings  
Warning: ignoring snd_index=0, no such parameter in this module 
Module snd-via82xx loaded, with warnings        
done  
program such as alsamixer or gamix.  
No mixer config in /etc/asound.state, you have to unmute your card!  
Setting default volumes.. 
Saving the mixer setup used for this in /etc/asound.state. 
ALSA lib conf.c:1564:(snd_config_load1) _toplevel_:6:8:Unexpected char 
ALSA lib conf.c:2820:(snd_config_hook_load) /etc/asound.conf may be old 
or corrupted: consider to remove or fix it 
ALSA lib conf.c:2666:(snd_config_hooks_call) function 
snd_config_hook_load returned error: Unknown error 
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing 
configuration 
/usr/sbin/alsactl: get_controls:487: snd_ctl_open error: Unknown error 
 
E tentei configurar de novo e as linhas a seguir sumiram, mas outras 
ficaram: 
ALSA lib conf.c:1564:(snd_config_load1) _toplevel_:6:8:Unexpected char 
ALSA lib conf.c:2820:(snd_config_hook_load) /etc/asound.conf may be old 
or corrupted: consider to remove or fix it 
ALSA lib conf.c:2666:(snd_config_hooks_call) function 
snd_config_hook_load returned error: Unknown error 
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing 
configuration 
/usr/sbin/alsactl: get_controls:487: snd_ctl_open error: Unknown error 
 
Aí parou de dar o problema do e-mail anterior, por que será? 

---
http://distro2.conectiva.com.br/mailman/listinfo/snapshot-users




[-- Attachment #3: Type: text/plain, Size: 187 bytes --]



-- 
Godoy.     <godoy@ieee.org>

"Ser poeta não é minha ambição, é minha maneira de estar sozinho"
 (Being a poet is not my ambition, it's my way of being lonely)
				- Fernando Pessoa

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Filtering based on multiline headers.
  2003-03-31 23:04 Filtering based on multiline headers Jorge Godoy
@ 2003-04-01  2:45 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-01  2:45 UTC (permalink / raw)


Jorge Godoy <godoy@ieee.org> writes:

> Gnus doesn't filter messages correctly when the header expands to more
> than one line.

The mail splitting code unfolds message headers before starting to do
matches. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-01  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-31 23:04 Filtering based on multiline headers Jorge Godoy
2003-04-01  2:45 ` Lars Magne Ingebrigtsen

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).