> -----Messaggio originale----- > Da: Luis Hernán Otegui [mailto:[EMAIL PROTECTED] > > Well, you could try asking the amavis list, tough. I think you could > actually tell amavis to copy the messages which hit a certain rule to > a certain directory, or to look for a specific tag by SA. But this is > getting kinda off-toopic, I think...
A SA plugin tailored to rule-debugging would be useful for a larger user base than just the amavis one (besides, this way it wouldn't be off-topic :) ). I'll give a look to the amavis stuff, anyway. Thank you, Giampaolo > > Regards, > > > Luix > > 2007/5/7, Giampaolo Tomassoni <[EMAIL PROTECTED]>: > > > -----Messaggio originale----- > > > Da: Luis Hernán Otegui [mailto:[EMAIL PROTECTED] > > > > > > Well, it all depends on how do you run SA (as a content filter, > > > through AMAVIS, via procmail, etc). Via AMAVIS you could use the > log > > > parser which MrC wrote, which works like a charm here. It could > work > > > as a control, since it tell you which rules hitted harder, which > ones > > > didn't, etc. > > > > It would be fine, since I'm using amavis, too. The problem is that > I'm not > > looking for statistical data about rules: I would need something to > let me > > have control on a rule which may possibly not work as expected in > > production. So, it should report promptly what the rule did and, > possibly, > > let me have a copy of the afflicted messages. > > > > > > > SA cannot copy a mail to any place by itself, its work is to test > and tag > > the mail either as spam or ham... > > > > I see. The plugin I'm looking for is more or less a debugging aid, so > it is > > not really mean as a "production" feature. I believe it would help > rule > > debugging a lot, however... > > > > giampaolo > > > > > > > > > > > Luix > > > > > > 2007/5/6, Giampaolo Tomassoni <[EMAIL PROTECTED]>: > > > > Dears, > > > > > > > > I'm something in need to write custom rules in order to penalize > some > > > kind > > > > of messages running through my SA. > > > > > > > > Now, of course I do apply a 0.001 score to my own test rules in > order > > > not to > > > > create FPs on received mails. Also, things are setup such that no > SA > > > header > > > > is added to messages yielding a score below 5. > > > > > > > > This basically means that, while I may not causing FPs while > testing, > > > I > > > > can't even detect any possible FP which my rules may cause "in > > > production" > > > > (when they get assigned an higher score) since I don't always get > the > > > SA > > > > headers in processed messages. > > > > > > > > Is there any way to instruct SA to put a copy of the message in > some > > > folder > > > > when a specific rule gets triggered? That would help rule > debugging > > > on > > > > running systems a lot... > > > > > > > > Thanks, > > > > > > > > ------------------------------------- > > > > Giampaolo Tomassoni - I.T. Consultant > > > > Piazza VIII Aprile 1948, 4 > > > > I-53043 Chiusi (SI) - Italy > > > > Tel/Ph: +39-0578-21100 > > > > > > > > MAI mandare un messaggio a: > > > > NEVER send an e-mail to: > > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > ------------------------------------------------- > > > GNU-GPL: "May The Source Be With You... > > > ------------------------------------------------- > > > > > > > -- > ------------------------------------------------- > GNU-GPL: "May The Source Be With You... > -------------------------------------------------