Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: jor70 on February 11, 2004, 10:14:50 PM

Title: spam Assassin msgs ??
Post by: jor70 on February 11, 2004, 10:14:50 PM
Hi, when I first installed sme 6 , I use imp for webmail.  spam Assassin works fine due I saw mails with "SPAM" word added and fwd to the junkmail folder

Now I switch to openwebmail  and I cant see any spam messages, I already create a "junkmail" folder but they didnt go there
I check server-manager , spam assassin  is activated
 also /server/mrtg reports spam activity and all incoming mails have the X-SPAM tags
where are spam messages going ??
Title: Spam disappears
Post by: SteveW on February 12, 2004, 01:13:29 AM
I had a similar problem happen to me last week, whereby  all messages were getting tagged with the X-Spam correctly, but if they passed the threshold I set for spam, the seemed to disappear into oblivion.  Although I'm not sure where they're going, I think I can at least point you in the right direction to fix.

Check /home/e-smith/files/users/ and in each user folder is a file called ".procmailrc"

In this file it will tell you where each users' spam is being sorted out to. Now, what I did last week was comment out "#" these lines, so that all Spam came through the InBox:
Quote
# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# -------------------------------------------------------------------------
#:0
#* ^X-Spam-Status: Yes
#$MAILDIR/;junkmail/


 From here I could easily use a filter to sort everything with spam headers to whichever folder I like. Hope this helps!
-
s
Title: spam Assassin msgs ??
Post by: loveless on February 12, 2004, 05:09:41 AM
Sounds like your openwebmail and imp read the IMAP directories differently.

Did you disable your IMP in server-manager?
Title: Re: Spam disappears
Post by: jor70 on February 12, 2004, 02:15:07 PM
Quote from: "SteveW"

Check /home/e-smith/files/users/ and in each user folder is a file called ".procmailrc"

In this file it will tell you where each users' spam is being sorted out to. Now, what I did last week was comment out "#" these lines, so that all Spam came through the InBox:
Quote
# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# -------------------------------------------------------------------------
#:0
#* ^X-Spam-Status: Yes
#$MAILDIR/;junkmail/


 From here I could easily use a filter to sort everything with spam headers to whichever folder I like. Hope this helps!
-
s


Thanks Steve! Its works!
the procmailrc file says not to be modified and use the templates instead.  Do you knows where is the custom-template of this file ?
Title: Re: Spam disappears
Post by: loveless on February 12, 2004, 08:06:10 PM
Quote from: "jor70"
Thanks Steve! Its works!
the procmailrc file says not to be modified and use the templates instead.  Do you knows where is the custom-template of this file ?


IIRC. /etc/e-smith/templates-user/.procmailrc/
Title: Re: Spam disappears
Post by: Anonymous on February 12, 2004, 08:09:30 PM
Quote from: "loveless"
Quote from: "jor70"
Thanks Steve! Its works!
the procmailrc file says not to be modified and use the templates instead.  Do you knows where is the custom-template of this file ?


IIRC. /etc/e-smith/templates-user/.procmailrc/


Thanks
the dir doesnt exists, I only need to create it and put inside my modified copy of the file ?
Title: Re: Spam disappears
Post by: loveless on February 12, 2004, 08:16:24 PM
Quote from: "Anonymous"


Thanks
the dir doesnt exists, I only need to create it and put inside my modified copy of the file ?


It's hidden.  Have to use "ls -la" to see it.

I'm using SME v5.6 with the SpamAssassin rpms from jprice's contrib area (at least I think that's where they were).