Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started 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 ??
-
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:
# -------------------------------------------------------------------------
# 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
-
Sounds like your openwebmail and imp read the IMAP directories differently.
Did you disable your IMP in server-manager?
-
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:
# -------------------------------------------------------------------------
# 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 ?
-
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 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 ?
-
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).