I see. Sorry, I thought a discussion for switching the default behavior would be right to be in dev list. And what about a discussion about a new eval function comparing the matches of two regular expression. If there would be functions eval:Equals(/regex1/,/regex2/) and eval:NOTEquals(/regex1/,/regex2/) it would be easy to define rules like the one I mentioned in my last mail.
(create a rule scoring say with 0.8 points if there is only one recipients address and that one equals the senders address but they have different 'name parts'? Like: TO: "User Name" <[EMAIL PROTECTED]> FROM: "viargre offer" <[EMAIL PROTECTED]> There are a lot of spam mails with that structure trying to get through because many people have their own domain on the whitelist. I tried to set this up as rule but with no luck. I fear it is not possible to do with an regular expression.) Harry > -----Original Message----- > From: Sidney Markowitz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 9:07 AM > To: Harald Binkle > Cc: '[email protected]' > Subject: Re: shortcircuit for USER_IN_WHITELIST --> noautolearn?? > ==>learn! > > Harald Binkle wrote, On 7/5/08 6:30 PM: > > Hi, ok, these are good reasons, I see. But I wrote a script setting > all recipients of > > outgoing mails on the whitelist. So everyone I send a message to will > be on the > > whitelist. Meanwhile nearly all people I have contact to are on my > whitelist so there > > are almost no mails I receive which will be automatically learned as > ham. > > Autolearn is a way of doing the best that you can with no work, but you > are seeing some of > its failings. There is really no substitute for a manual learning > procedure where you find > a way to make it easy to specify whether email is really typical ham or > spam and send it > to the learner, avoiding sending atypical ham that contains words that > you would not want > to learn as ham. I could get into a discussion about ideas on how to do > that without > having to classify all your mail by hand, which of course is what you > use SpamAssassin to > avoid in the first place, but that's the kind of discussion that the > SpamAssassin users > mailing list is for. > > > There are a lot of spam mails with that structure trying to get > through because many > > people have their own domain on the whitelist. I tried to set this up > as rule but with > > no luck. I fear it is not possible to do with an regular expression. > > The proper way to do it is to use whitelist_from_rcvd instead of > whitelist_from and put in > a rule for each sending mail server that the person uses. Again, this > is a topic for the > sa-users mailing list rather than the dev list. > > -- sidney ---------------------------------------------------- JAM Software GmbH Gesch?ftsf?hrer: Joachim Marder Bruchhausenstr. 1 * 54290 Trier * Germany Tel: 0700-70707050 * Fax: 0700-70707059 (max. 12,4 ct/min, Preise aus Mobilfunknetzen k?nnen abweichen) Handelsregister Nr. HRB 4920 (AG Wittlich) http://www.jam-software.de
