[qmailtoaster] automatically delete spam messages
Hey all, How does one modify spamassasin or qmail to automatically move anything marked as spam by spamassasin to the Trash folder (or just delete) on a per-email account basis? On our old mail server, the preference was in squirrelmail, but it's not in the toaster version. This discludes the Message Filtering in Squirrelmail since that only appears to work if you only use squirrelmail for email versus pop3 or imap. Jared
Re: [qmailtoaster] automatically delete spam messages
Jared Markell wrote: Hey all, How does one modify spamassasin or qmail to automatically move anything marked as spam by spamassasin to the Trash folder (or just delete) on a per-email account basis? On our old mail server, the preference was in squirrelmail, but it's not in the toaster version. This discludes the Message Filtering in Squirrelmail since that only appears to work if you only use squirrelmail for email versus pop3 or imap. There is some work being done on this that should (hopefully) be rolled out in the next version. The previous version had this with a mailfilter script (which you can still use), but it caused some issues with quotas. There were 2 workarounds for this, one being adding a command in your tcp.smtp file, the other just running a script nightly that would learn from the spam in the Spam folder then delete it. Check to see if you have the mailfilter script (/etc/mail/mailfilter); depending on when you installed you may/may not have the script. Then it's just as easy as making the user's .qmail file look like this: |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: maildrop-toaster' /etc/mail/mailfilter and making sure they have a folder in Squirrelmail called Spam Email me off-list if you need the script, and I can also give an example of the nightly script I use to learn/delete the spam messages.
RE: [qmailtoaster] automatically delete spam messages
Jake, Thanks for your reply. I'm glad this is being worked on! However, then method you're leaning at requires me as the sysadmin to add this feature for them via the command line which I'd like to avoid. I was curious if there was something I overlooked that would allow them via the online gui to modify this setting, but if it doesn't exist at this current point in time, that is fine. I can wait 'til the feature is implemented, and so can my email clients. ;) Using outlook or squirrelmail to filter spam to the trash is fine in the mean time. Thanks again! Jared From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 10:54 AMTo: qmailtoaster-list@qmailtoaster.comSubject: Re: [qmailtoaster] automatically delete spam messages Jared Markell wrote: Hey all, How does one modify spamassasin or qmail to automatically move anything marked as spam by spamassasin to the Trash folder (or just delete) on a per-email account basis? On our old mail server, the preference was in squirrelmail, but it's not in the toaster version. This discludes the Message Filtering in Squirrelmail since that only appears to work if you only use squirrelmail for email versus pop3 or imap.There is some work being done on this that should (hopefully) be rolled out in the next version. The previous version had this with a mailfilter script (which you can still use), but it caused some issues with quotas. There were 2 workarounds for this, one being adding a command in your tcp.smtp file, the other just running a script nightly that would learn from the spam in the Spam folder then delete it. Check to see if you have the mailfilter script (/etc/mail/mailfilter); depending on when you installed you may/may not have the script. Then it's just as easy as making the user's .qmail file look like this:|/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: maildrop-toaster' /etc/mail/mailfilterand making sure they have a folder in Squirrelmail called SpamEmail me off-list if you need the script, and I can also give an example of the nightly script I use to learn/delete the spam messages.
Re: [qmailtoaster] automatically delete spam messages
ACK! The green burns my eyes... Quick note, the new version of the toaster will automatically delete mail scored above 12 by spamassassin. You can tweak this setting in /var/qmail/control/simcontrol This is a global, or per domain, or per user setting, but unfortuntely must be done by the administrator. Thanks, Erik On 7/18/06, Jake Vickers [EMAIL PROTECTED] wrote: Jared Markell wrote: Jake, Thanks for your reply. I'm glad this is being worked on! However, then method you're leaning at requires me as the sysadmin to add this feature for them via the command line which I'd like to avoid. I was curious if there was something I overlooked that would allow them via the online gui to modify this setting, but if it doesn't exist at this current point in time, that is fine. I can wait 'til the feature is implemented, and so can my email clients. ;) Using outlook or squirrelmail to filter spam to the trash is fine in the mean time. If you're running the older version, then yes, the option is in there for the user to turn this on/off. If you upgraded, no. Just give it some time. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] automatically delete spam messages
Gary Wong - I've tried to send you the script several times, and your system keeps saying my message is considered spam. I tried to send you a link to it (v2gnu.com/mailfilter) but it kicked that back as well. I even tried to send you a message saying It won't let me email you. and it kicked that back as well. Screws are a little tight on your system if you ask me. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]