another quick one. I have 2 websites that im hosting with 2 seperate spam accounts. It would be great if I could somehow set it up so that everyone in one damain or home directory, is set to send spam to the spam address by default.

Even if I hadto do it manually for every account that would be ok. What I dont want is spam from 2 domains going to the 1 directory.

There's a .procmailrc file in each user's homedir, e.g. /var/www/web1/user/web1_exampleuser/.procmailrc. You can modify these procmail files, but you should be aware that these changes will be overwritten whenever you change something in ISPConfig. To avoid this, you can modify the template file in /root/ispconfig/isp/conf, or even better (if you use ISPConfig 2.2.13), create a customized template in /root/ispconfig/isp/conf/customized_templates/.

Let's say you want to modify /root/ispconfig/isp/conf/procmailrc.master. Instead of modifying that file, you leave the file unmodified and put your edited version into /root/ispconfig/isp/conf/customized_templates (-> /root/ispconfig/isp/conf/customized_templates/procmailrc.master). ISPConfig will see that file and use it instead of /root/ispconfig/isp/conf/procmailrc.master.

I figured out how to redirect which is fine, but there is something much better that I would like to get working.

Instead of redirecting spam to a folder in that users em ail directory, what I would like to do is send everyones spam to a seperate email address.

All of our email is imap except for one address which is pop3 (donotreply@...). This address goes to our Firewall/Proxy Server.

Its important that it be a different address because I dont want the user to be able to access this mail. Mainly due to people being stupid and clicking on links that they should not click on.

Another thing, I dont want to have to choose this for every user account seperately. I would like to set it once and every current user as well as every new user will automatically route spam to the donotreply address.

If this is possible, please someone explain it to me like im a 2 year old, maybe even with an example with the code.

I also suggest the ISPConfig userguide be updated with this info. It really is the only way to filter spam without filling up mailboxes with crap, or deleting them and risking something important not get through.