* nnmail-split-fancy
@ 2006-07-29 5:06 Alok G. Singh
2006-07-30 12:57 ` nnmail-split-fancy Adrian Aichner
0 siblings, 1 reply; 10+ messages in thread
From: Alok G. Singh @ 2006-07-29 5:06 UTC (permalink / raw)
The spam system at work adds the following regexp to the subject to identify spam: "{Spam\\?}". I verified this regexp using regexp-builder in the summary buffer.
When I try and add a rule to nnmail-split-fancy
(subject "{Spam\\?}" "mail.spam")
it does not send mails with {Spam?} in their subjects to mail.spam. A couple of sample subject headers are below.
Subject: {Spam?} This stock has amazing ...
Subject: {Spam?}
Is it something wrong in the regexp or something to do with nnmail-split-fancy-match-partial-words ?
--
Alok
Creditor, n.:
A man who has a better memory than a debtor.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
2006-07-29 5:06 nnmail-split-fancy Alok G. Singh
@ 2006-07-30 12:57 ` Adrian Aichner
2006-07-31 7:21 ` nnmail-split-fancy Alok G. Singh
0 siblings, 1 reply; 10+ messages in thread
From: Adrian Aichner @ 2006-07-30 12:57 UTC (permalink / raw)
alephnull@airtelbroadband.in (Alok G. Singh) writes:
> The spam system at work adds the following regexp to the subject to identify spam: "{Spam\\?}". I verified this regexp using regexp-builder in the summary buffer.
>
> When I try and add a rule to nnmail-split-fancy
> (subject "{Spam\\?}" "mail.spam")
> it does not send mails with {Spam?} in their subjects to mail.spam. A couple of sample subject headers are below.
>
> Subject: {Spam?} This stock has amazing ...
> Subject: {Spam?}
>
> Is it something wrong in the regexp or something to do with nnmail-split-fancy-match-partial-words ?
What is your value of nnmail-split-fancy-match-partial-words ?
If it's t, the above could work, but definitely not with
nnmail-split-fancy-match-partial-words set to nil.
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
2006-07-30 12:57 ` nnmail-split-fancy Adrian Aichner
@ 2006-07-31 7:21 ` Alok G. Singh
0 siblings, 0 replies; 10+ messages in thread
From: Alok G. Singh @ 2006-07-31 7:21 UTC (permalink / raw)
On 30 Jul 2006, adrian@xemacs.org wrote:
>> When I try and add a rule to nnmail-split-fancy (subject
>> "{Spam\\?}" "mail.spam") it does not send mails with {Spam?} in
>> their subjects to mail.spam.
> If it's t, the above could work, but definitely not with
> nnmail-split-fancy-match-partial-words set to nil.
Yes, that worked. It also fixed some other rules as well :) Thank you.
--
Alok
teamwork, n.:
Having someone to blame.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
2005-08-22 23:06 nnmail-split-fancy Sebastian Luque
@ 2005-08-22 23:43 ` Katsumi Yamaoka
0 siblings, 0 replies; 10+ messages in thread
From: Katsumi Yamaoka @ 2005-08-22 23:43 UTC (permalink / raw)
>>>>> In <87oe7p4lmy.fsf@gmail.com> Sebastian Luque wrote:
> Can somebody please clarify why using concat to provide a regexp in the
> following nnmail-split-fancy is not allowed? For example:
> (setq nnmail-split-fancy
> '(| ("from" (concat "my " "regexp") "MyGroup")
> (: spam-split)
> "mail.misc"))
I actually use concat in the way similar to the following:
(setq nnmail-split-fancy
`(| ("from" ,(concat "my " "regexp") "MyGroup")
(: spam-split)
"mail.misc"))
Maybe we need to improve the nnmail code if we really want to
use it without backquotes.
^ permalink raw reply [flat|nested] 10+ messages in thread
* nnmail-split-fancy
@ 2005-08-22 23:06 Sebastian Luque
2005-08-22 23:43 ` nnmail-split-fancy Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Luque @ 2005-08-22 23:06 UTC (permalink / raw)
Hello,
Can somebody please clarify why using concat to provide a regexp in the
following nnmail-split-fancy is not allowed? For example:
(setq nnmail-split-fancy
'(| ("from" (concat "my " "regexp") "MyGroup")
(: spam-split)
"mail.misc"))
does not work, and would send all messages to the bogus group, but without
using concat:
(setq nnmail-split-fancy
'(| ("from" "my regexp" "MyGroup")
(: spam-split)
"mail.misc"))
is fine. The reason I want to use concat is to simplify maintenance of
the regexps in several lines.
Thanks in advance,
--
Sebastian P. Luque
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
1999-07-05 9:00 ` nnmail-split-fancy E. David Bell
@ 1999-07-06 4:07 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-07-06 4:07 UTC (permalink / raw)
davidbe@msil.sps.mot.com (E. David Bell) writes:
> (: gnus-bbdb-split-method)
I've looked over the code, and I can't see anything weird about it:
;; Builtin : operation.
((eq (car split) ':)
(nnmail-split-it (save-excursion (eval (cdr split)))))
Anyone?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
1999-07-05 4:22 ` nnmail-split-fancy Lars Magne Ingebrigtsen
@ 1999-07-05 9:00 ` E. David Bell
1999-07-06 4:07 ` nnmail-split-fancy Lars Magne Ingebrigtsen
0 siblings, 1 reply; 10+ messages in thread
From: E. David Bell @ 1999-07-05 9:00 UTC (permalink / raw)
>> I upgraded to 0.91 and it seems to make the problem worse. Now
>> the nnmail-split-fancy sends everything to "other" even if it
>> should have a match _before_ the BBDB split.
Lars> What is your complete `nnmail-split-fancy' variable?
(setq nnmail-split-fancy
'(|
("From" "davidbe" "test1")
(: gnus-bbdb-split-method)
"other"
)
)
--
-David
________________________________________________________________
E. David Bell | davidbe@msil.sps.mot.com
Motorola Semiconductor Israel Ltd. | 972-9-952-2685
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
1999-07-04 17:00 ` nnmail-split-fancy E. David Bell
@ 1999-07-05 4:22 ` Lars Magne Ingebrigtsen
1999-07-05 9:00 ` nnmail-split-fancy E. David Bell
0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-07-05 4:22 UTC (permalink / raw)
davidbe@msil.sps.mot.com (E. David Bell) writes:
> I upgraded to 0.91 and it seems to make the problem worse. Now the
> nnmail-split-fancy sends everything to "other" even if it should have
> a match _before_ the BBDB split.
What is your complete `nnmail-split-fancy' variable?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
1999-07-04 3:13 ` nnmail-split-fancy Lars Magne Ingebrigtsen
@ 1999-07-04 17:00 ` E. David Bell
1999-07-05 4:22 ` nnmail-split-fancy Lars Magne Ingebrigtsen
0 siblings, 1 reply; 10+ messages in thread
From: E. David Bell @ 1999-07-04 17:00 UTC (permalink / raw)
>> The BBDB split is returning the correct value but
>> nnmail-split-fancy is ignoring it.
Lars> Could you try upgrading to 0.90 and see whether this works
Lars> better there?
Lars-
I upgraded to 0.91 and it seems to make the problem worse. Now the
nnmail-split-fancy sends everything to "other" even if it should have
a match _before_ the BBDB split.
--
-David
________________________________________________________________
E. David Bell | davidbe@msil.sps.mot.com
Motorola Semiconductor Israel Ltd. | 972-9-952-2685
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: nnmail-split-fancy
[not found] <keiu85nbax.fsf@msil.sps.mot.com>
@ 1999-07-04 3:13 ` Lars Magne Ingebrigtsen
1999-07-04 17:00 ` nnmail-split-fancy E. David Bell
0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-07-04 3:13 UTC (permalink / raw)
davidbe@msil.sps.mot.com (E. David Bell) writes:
> The BBDB split is returning the correct value but nnmail-split-fancy
> is ignoring it.
Could you try upgrading to 0.90 and see whether this works better
there?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-07-31 7:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-29 5:06 nnmail-split-fancy Alok G. Singh
2006-07-30 12:57 ` nnmail-split-fancy Adrian Aichner
2006-07-31 7:21 ` nnmail-split-fancy Alok G. Singh
-- strict thread matches above, loose matches on Subject: below --
2005-08-22 23:06 nnmail-split-fancy Sebastian Luque
2005-08-22 23:43 ` nnmail-split-fancy Katsumi Yamaoka
[not found] <keiu85nbax.fsf@msil.sps.mot.com>
1999-07-04 3:13 ` nnmail-split-fancy Lars Magne Ingebrigtsen
1999-07-04 17:00 ` nnmail-split-fancy E. David Bell
1999-07-05 4:22 ` nnmail-split-fancy Lars Magne Ingebrigtsen
1999-07-05 9:00 ` nnmail-split-fancy E. David Bell
1999-07-06 4:07 ` nnmail-split-fancy 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).