On Mon, 17 Jul 2017 11:33:42 -0400 Robert Kudyba wrote:
> > try running > > > > spamassassin -D razor2 > > < /usr/share/doc/spamassassin/sample-spam.txt > > > > as the user amavis. > > su - -s /bin/bash amavis -c "spamassassin -D razor2 > < /usr/share/doc/spamassassin/sample-spam.txt" ... > Jul 17 11:32:20.042829 check[7631]: [ 5] Connecting to > discovery.razor.cloudmark.com ... Jul 17 11:32:25.050 [7631] dbg: > razor2: razor2 check timed out after 5 seconds I tried playing around with this and I did get a couple timeouts on this server, but it's rarely attempted it on checks, I think it's governed by a timer. You don't have a razor-agent.conf file in the .razor directory which is a bit strange since it gets created by default. If you haven't already tried this I'd move the existing .razor directory, and recreate it by running razor-admin -create as the amavis user.