Koozali.org: home of the SME Server

Using Multiple SpamAssassin Daemons on differents servers...

Erika

Using Multiple SpamAssassin Daemons on differents servers...
« on: January 15, 2004, 12:05:32 PM »
Hi,

I use SpamAssassin on a SME 5.5 for months now, and it works great.

The increasing number of mails to be scanned leads me to use a SA daemon on a remote server (local network).

So, I modified the template /etc/e-smith/templates-user/.procmailrc/30spamassassin, in order to call spamc with the options : -d 192.168.2.11 -d 127.0.0.1

Btw, mail can be scanned by server 192.168.2.11 if up, or by localhost.

BUT, the problem is : once the remote server is down, spamc will not try to connect to it anymore, and will connect to localhost forever.

I had a look on the spamc options, but the doc isn't very detailed about this case. Restarting SA service on local or remote server doesn't have any effect...

Any idea on how to force spamc to test the remote server (192.168.2.11), then the local one if necessary, every time it is called by procmail ???

Thanks in advance,

Erika