How to change delivery of messages classified as spam

3 posts / 0 new
Last post
#1 Tue, 01/31/2006 - 20:03

How to change delivery of messages classified as spam


Is there anyone who know how to change the delivery of messages classified as spam. The Spam Classification works fine but when trying to change the Procmail Spam Delivery and "Action for messages classified as spam" nothing changes... all mails are delivered normally!!

We have customers recieving hundreds of SPAM each month, these customers are still on our old server with WHM/Cpanel becauce I can't get spam delivery to work on our new server running FC4 and Virtualmin Pro. Maybe I do something wrong and maybe my knowledge is not good enough to get this working.

If there is someone who knows how to get this working, Please, Please... tell me how to do this!

Regards, Leif Blåfors

Fri, 02/03/2006 - 22:35

Hi there!

I got everything working ok now, SPAM gets delivered to a Spam file that the customer can access from Usermin, delelet or forward the SPAM classified mails. Each user can have their own settings for Spamassasin. Works like a charm!!

Leif Blåfors

Fri, 02/03/2006 - 23:55

Me again!

Did a yum update a few minutes ago and got a update on both Webmin and Usermin, and thats good... but the the SPAM delivery did break after the update!!!

It was easy to fix this time, but I don't know if I'm doing this the right way? Everything works fine though. The only thing that I hade to change again was:

I have removed these lines:

All users can now have their own prefered settings to Spamassassin, and the SPAM gets delivered to the spcified file again. But there still remains a small BUG.
The BUG is in Usermin, Mail, SpamAssassin Mail Filter, Spam Mail:
If you push any button except, "Search for.." and "Delete All Spam" without marking any file this error occur:
Error - Perl execution failed
Modification of non-creatable array value attempted, subscript -1 at /usr/libexec/usermin/spam/process.cgi line 12.

If you do the same in "Read Mail" you get a nice error message saying that nothing is selected. I suppose it should work the same way in the "Spam Mail" window.

Leif Blåfors

Topic locked