Hi Guys, Is anyone aware of a way to stop qmail-scanner from archiving spam?
This feature is great until you start archiving 1000 messages a day!
Qmail-Scanner archiving spam....
-
- Forum User
- Posts: 29
- Joined: Mon Jan 12, 2009 2:31 pm
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail-Scanner archiving spam....
archive or quarantine? It isn't set to archive by default, but it will quarantine virii, or policy violation's.
-
- Forum User
- Posts: 29
- Joined: Mon Jan 12, 2009 2:31 pm
Re: Qmail-Scanner archiving spam....
I want it to skip archival if it's been marked as spam (virii is handled ok).
Out of 1000 messages per day I probably get only 100 ham, but all 1000 would get archived by qs, so you can imagine the problem I'll have in a few months...
Out of 1000 messages per day I probably get only 100 ham, but all 1000 would get archived by qs, so you can imagine the problem I'll have in a few months...
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail-Scanner archiving spam....
Did you turn it on in /etc/qmail-scanner.ini or in /var/qmail/bin/qmail-scanner-queue.pl? Its off by default
-
- Forum User
- Posts: 29
- Joined: Mon Jan 12, 2009 2:31 pm
Re: Qmail-Scanner archiving spam....
I turned on archiving in the ini file (on purpose) and ran qmail-scanner-reconfigure. I want ham to be archived, but not spam.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail-Scanner archiving spam....
Oooh ok sorry I missed that. qmail-scanner is the wrong place to do that I think, unless you had it set to reject or delete spam too maybe. I dont recall if the archive event comes before that or not. If it does then you cant do that in qmail-scanner, you'd need to do something down at the mailbox level or write a plugin for it.
-
- Forum User
- Posts: 29
- Joined: Mon Jan 12, 2009 2:31 pm
Re: Qmail-Scanner archiving spam....
I'm certain the archiving is the last thing done, judging by the logs and the fact that SPAM headers are correctly applied on the archived copies as well.
Based on your answer I guess that means qs won't do it, but maybe you know of some pre-written scripts that can scan the folder for spam and delete accordingly after it's been archived?
Thanks
Based on your answer I guess that means qs won't do it, but maybe you know of some pre-written scripts that can scan the folder for spam and delete accordingly after it's been archived?
Thanks
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail-Scanner archiving spam....
No I havent seen anything like that. You'd have to write it
-
- Forum User
- Posts: 29
- Joined: Mon Jan 12, 2009 2:31 pm
Re: Qmail-Scanner archiving spam....
I guess I'll have to come up with something then
Thanks for the help scott!
Thanks for the help scott!