I have email account A (using ISP Config) which forwards to account B on a different domain/server. In account A, I've also used ISP Config to setup Spam Assassin, and it's working well. However, the forwarding seems to happen before SpamAssassin kicks in, because all the spam is being forwarded to account B. How can I configure things such that SpamAssassin kicks in before the email is forwarded ? Thanks.
This can not be configured without programming in ISPConfig 2.2.x. But the current dev versions of ISPConfig (2.3.3) do spam scanning for redirected mails.
Can you point me in the direction of how i can program this for ispconfig 2.2.x ? I just needs some hints as to where to look. What exactly do you mean by programming in this context ? I thought that all that would be needed was to change some configuration file settings, nothing really specific about ISPConfig. If you can just give me keywords for the things i'm supposed to look for that would be a great help. Thanks.
PHP programming. You can not change this by modifying just a config file. You will have to change the ISPConfig source code to not use the .forward file for forwarding and to use a procmail recipe instead that is called after the spamassassin procmail recipe.