Please do not top-post (and correctly quote the reply). Review the mailing list guidelines if you have doubts. >> Would be grateful for any hints! >> >> I have squirrelmail 1.4.10a and cannot get the inbuilt spam filter to work. >> >> the scenario is the following: i get email directly to my email address, >> as well as downloading from another account, via POP (fetchmail plugin). >> >> the spam from my normal email address is spam-assassin tagged, and I have >> no problems with setting a normal subject line filter (ie the 'message >> filters') to put it into the junkmail folder. >> >> for the POP account though, i have to use the 'SPAM filters', as the spam >> that i get into my inbox through POP is not subject line tagged (and >> unfortunately I cannot get it server-side tagged - it's not under my >> control). > > To be clear, you mean you are using the spam filtering component of > the "Filters" plugin. > >> here an example spam email header and my spamfilters_yourhop setting: > > I don't use the Filters plugin, so I won't be much help, but the first > thing you should do is make sure that the Filters plugin is even > scanning the incoming POP messages from the fetchmail plugin at all. > You may have to dig around in the code if you can't find an easy way > to verify such, and then you still might be back at the same list of > questions you have already. > thanks for your reply. regarding whether the filters plugin is scanning > the message from the fetchmail plugin at all - even if it is not, then the > fetchmail gets the messages into the inbox - once they are there (on the > next inbox refresh i suppose, after the fetchmail is done), isn't that > when the filters plugin should work, at the latest, as it scans messages > in the inbox, no matter where they came from? > or at the latest at the next login? IIRC, that depends on if the filters plugin is set to scan only new messages or all messages or some such thing. I *seems* like it should be scanning them, but it might be best to verify by putting something in the code that helps you verify that that is the case. >> example spam email header: >> >> Return-Path: <extroverts82@xxxxxxxxxxxxxxxxxxxx> >> Received: from 201-92-251-198.dsl.telesp.net.br >> (201-92-251-198.dsl.telesp.net.br [201.92.251.198]) >> by POP.SERVER.I.DOWNLOAD.FROM (8.12.11.20060829/8.11.3) with ESMTP id >> m6OJdrQE002717 >> for <POP.SERVER.EMAIL.ADDRESS>; Fri, 25 Jul 2008 04:39:55 +0900 >> Received: from [201.92.251.198] by smtp.secureserver.net; Thu, 24 Jul 2008 >> 16:39:55 -0300 >> Message-ID: <01c8edab$e6f3ff80$c6fb5cc9@extroverts82> >> From: "Jacqueline Travis" <extroverts82@xxxxxxxxxxxxxxxxxxxx> >> To: <POP.SERVER.EMAIL.ADDRESS> >> Subject: Your order of a Degree >> Date: Thu, 24 Jul 2008 16:39:55 -0300 >> MIME-Version: 1.0 >> Content-Type: multipart/alternative; >> boundary="----=_NextPart_000_0007_01C8EDAB.E6F3FF80" >> X-Priority: 3 >> X-MSMail-Priority: Normal >> X-Mailer: Microsoft Outlook Express 6.00.2900.2180 >> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 >> X-UIDL: mDj!!K12"!ZiO!!f0!"! >> >> my spamfilters_yourhop setting: >> $SpamFilters_YourHop = 'POP.SERVER.I.DOWNLOAD.FROM'; >> >> i have set the SpamFilters_YourHop to the POP server name as you can see, >> but the junkmail stays in my inbox. also, the mail server name is written >> in the same case (as i know the setting is case sensitive). is the problem >> due to the fact that the mail is from (another) POP server? i have found >> the message below, which makes me thing that because the header is so >> short (i.e. there is no other mail server name after >> POP.SERVER.I.DOWNLOAD.FROM), it won't work?: >> http://article.gmane.org/gmane.mail.squirrelmail.user/22127/match=spamfilters_yourhop >> >> my DNS cache however is there and has three lines in it, it's 'modified >> date' is today's, so something is working, but i can't see any effect. >> >> Any tips would be greatly appreciated!!! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users