[imapfilter-devel] Handle multiple cc-Adresses?

Hawk Anonymous p91 at gmx.de
Mon Sep 27 23:04:55 EEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 24.09.2010 19:29, schrieb Lefteris Chatzimparmpas:
> Hello!
> 
> Can you run imapfilter with the -d option and send us the output debug
> file that will be produced inside your ~/.imapfilter directory?
> 
> You can count how many messages a search command matched like this:
> 
>   spam = myaccount.INBOX:contain_cc('p9760 at gmx.de')
>   print("Messages matched: " .. #spam)


Hi,

I do not want to count how much messages are taken away by this rule but
I want a rule like this:

"Its spam if it has more then 5 cc addresses."

Here is my log file:

getting response (4):

* OK IMAP4 Server der Universitaet Siegen^M

sending command (4):

1000 NOOP^M

getting response (4):

1000 OK NOOP completed.^M

sending command (4):

1001 CAPABILITY^M

getting response (4):

* CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN IDLE
NAMESPACE LITERAL+^M
1001 OK CAPABILITY completed.^M

sending command (4):

1002 LOGIN "MyLogin" *^M

getting response (4):

1002 OK LOGIN completed.^M

sending command (4):

1003 NAMESPACE^M

getting response (4):

* NAMESPACE (("" "/")) NIL NIL^M
1003 OK NAMESPACE completed.^M

namespace (4): '' '/'
sending command (4):

1004 SELECT "INBOX"^M

getting response (4):

* 33 EXISTS^M
* 0 RECENT^M
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)^M
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft
$MDNSent)] Permanent flags^M
* OK [UNSEEN 23] Is the first unseen message^M
* OK [UIDVALIDITY 2556] UIDVALIDITY value^M
* OK [UIDNEXT 31835] The next unique identifier value^M
1004 OK [READ-WRITE] SELECT completed.^M

sending command (4):

1005 UID SEARCH ALL FROM "GMX Service"^M

getting response (4):

* SEARCH^M
1005 OK SEARCH completed.^M

sending command (4):

1006 UID SEARCH ALL FROM "GMX Best Price"^M

getting response (4):

* SEARCH^M
1006 OK SEARCH completed.^M

sending command (4):

1007 UID SEARCH ALL FROM "TrashMail.net"^M

getting response (4):

* SEARCH^M
1007 OK SEARCH completed.^M

sending command (4):

1008 UID SEARCH ALL FROM "GMX Magazin"^M

getting response (4):

* SEARCH^M
1008 OK SEARCH completed.^M

sending command (4):

1009 UID SEARCH ALL CC "p9760 at gmx.de"^M

getting response (4):

* SEARCH^M
1009 OK SEARCH completed.^M

sending command (4):

100A UID SEARCH ALL HEADER list-id "CCC Diskussionsliste
<debate.lists.ccc.de>"^M

getting response (4):

* SEARCH^M
100A OK SEARCH completed.^M

sending command (4):

100B UID SEARCH ALL FROM "Groundspeak"^M

getting response (4):

* SEARCH^M
100B OK SEARCH completed.^M

sending command (4):

100C UID SEARCH ALL HEADER list-id "ml-physik"^M

getting response (4):

* SEARCH^M
100C OK SEARCH completed.^M

sending command (4):

100D UID SEARCH ALL FROM "Geocachin"^M

getting response (4):

* SEARCH^M
100D OK SEARCH completed.^M

sending command (4):

100E UID SEARCH ALL FROM "opencaching.de"^M

getting response (4):

* SEARCH^M
100E OK SEARCH completed.^M

sending command (4):

100F UID SEARCH ALL HEADER list-archive
"<http://lists.alioth.debian.org/pipermail/sane-devel>"^M

getting response (4):

* SEARCH^M
100F OK SEARCH completed.^M

sending command (4):

1010 UID SEARCH ALL HEADER list-archive
"<http://lists.hellug.gr/pipermail/imapfilter-devel>"^M

getting response (4):

* SEARCH^M
1010 OK SEARCH completed.^M

sending command (4):

1011 SELECT "INBOX"^M

getting response (4):

* 33 EXISTS^M
* 0 RECENT^M
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)^M
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft
$MDNSent)] Permanent flags^M
* OK [UNSEEN 23] Is the first unseen message^M
* OK [UIDVALIDITY 2556] UIDVALIDITY value^M
* OK [UIDNEXT 31835] The next unique identifier value^M
1011 OK [READ-WRITE] SELECT completed.^M

sending command (4):

1012 IDLE^M

getting response (4):

+ IDLE accepted, awaiting DONE command.^M
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMoPjmAAoJEMza3/rD3QPeJ1UP/jsE+8AyJGw5zTH0Lw4ajM3O
6fLIjG0+tVA7Z4vgsnkYtpD/OGpadPF3tkPWjPKkROVVk/0eIGe5jrO0HKIIuriT
Ugw4hYTr+EXudVQerFT2iLilSTf77ZQu2lSQuhOzZ7be8tGLnLwEromuIG5zUpik
14njOInwNjJhWVKexp6ZPREFIAaspuq2S0hZ7rtv8qLEzlD/8+CSrRn/KAqZ7ewk
kzzpB6A4YmUDxB55yJfPu6tIOduNVmMhvISlsS1p7FQCdz3klEAENd25aqIMJa2f
o/X1uGi8iHvK+9U4wNNcijgOPzcOaqXFn/s+s89hPHDNYo0ELBMPn/2L1MbKfGoN
cWPbZUwbzRzUztRn8ibaXlY2RuyZaoJQUjaStA9/RviwdPVqYZOKNhOD3BX/zoCI
FrYaLL7dOIgEI8FnxZ5AU1VqUYiGmfdrWwXilQ2d4WrDNj/JVg/q4I3Wf8V++8xA
oaqRBVcnztEJoxYFqsCOhbi0GKkS5ZNX1cBfWjSI8xiaTCq6GALOTt1HhAfKhc1R
G7hYkxuqnFEY+aaalq1KhCDU32xz1Q32hz49LM/at42eukvTAhwYMNa36DloxEjQ
cCv+c0D9cPufDl8fW+YbUDDgZS27KHCI6q5LWr7fxCA+KwRKdcSFuHClBt4Rw1uL
IjBR5BbuJVy+hYHr5MZz
=zMEw
-----END PGP SIGNATURE-----


More information about the Imapfilter-devel mailing list