First of all: Thanks a lot for the work you put into the qmail-scanner project. It's making my life a lot easier. :)
I'm on a 3ES box running PSA 7.5.1, qmail-scanner-1.24st, spamassassin 3.0.1, and SquirrelMail 1.4.2. What I'd like to do is this: If spamassassin identifies e-mail that was addressed to a local mailname as spam, I'd like to have qmail-scanner put that message into the mailname's "Spam" folder, so that POP3 users don't have to download all the tagged spam, but can still log into SquirrelMail to check their spam before deleting it.
Is there any documentation that explains how to do this?
Thanks in advance!
qmail-scanner: Move spam to "Spam" folders?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Well the good news is that if the SPAM folder exists, and squirrelmail is running (as in open in the browser) it will move mail to the SPAM folder now. Ive found that to be a pretty ineffective system though, since you'd have to keep webmail open all the time. Ive also used mailfiler called from a .qmail file, which works great, until PSA overwrites the file and youve got to redo everything. The latest solution Ive been toying with is a new implementation of Project Gamera that stores spam tagged mail inside mysql. Im nowhere near having anything from that particular done yet though
Sorry!

ok back to the drawing board then 
actually after doing a little homework it looks like they are created when the account is created and if the users spam-settings are change in the admin interface. One solution woul be to write a script that alters the .qmail script to include a spam deleting line if none is present.

actually after doing a little homework it looks like they are created when the account is created and if the users spam-settings are change in the admin interface. One solution woul be to write a script that alters the .qmail script to include a spam deleting line if none is present.
Well, I guess I'll have to agree. That's not really a practical solution. :-/scott wrote:Well the good news is that if the SPAM folder exists, and squirrelmail is running (as in open in the browser) it will move mail to the SPAM folder now. Ive found that to be a pretty ineffective system though, since you'd have to keep webmail open all the time.
I was thinking that since qmail-scanner supports quarantining spam messages in a specific directory (defined in $smaildir), shouldn't it be possible to determine the path of a local recipient's Spam folder and make that qmail-scanner's quarantine directory for the currently processed message?
Looking at qmail-scanner-queue.pl I'd say this should be an option -- at least in theory. Or am I missing something?