On 17-07-17 16:39, Robert Kudyba wrote: > >> On Jul 17, 2017, at 10:28 AM, Tom Hendrikx <t...@whyscream.net >> <mailto:t...@whyscream.net>> wrote: >> >> On 17-07-17 16:00, Robert Kudyba wrote: >>> >>>> On Jul 17, 2017, at 9:39 AM, Antony Stone >>>> <antony.st...@spamassassin.open.source.it >>>> <mailto:antony.st...@spamassassin.open.source.it> >>>> <mailto:antony.st...@spamassassin.open.source.it>> wrote: >>>> >>>> On Monday 17 July 2017 at 14:25:17, Robert Kudyba wrote: >>>> >>>>>> On Jul 14, 2017, at 4:00 AM, Matus UHLAR - fantomas >>>>>> <uh...@fantomas.sk <mailto:uh...@fantomas.sk> >>>>>> <mailto:uh...@fantomas.sk>> >>>> wrote: >>>>>>> Robert Kudyba <rkud...@fordham.edu <mailto:rkud...@fordham.edu> >>>>>>> <mailto:rkud...@fordham.edu>> wrote: >>>>>>>> Over the past few days sending mail via SquirrelMail has become >>>>>>>> glacial. The load on the server is under 1. I've restarted the SA, >>>>>>>> sendmail and dovecot processes several times. Here are some logs >>>>>>>> I can >>>>>>>> provide any settings if desired. >>>>>> >>>>>> tried to run a message through "spamassassin -D" ? >>>>>> that should give you debug/timing info. >>>>> >>>>> OK here is the pastebin of spamassassin -D < gtube.txt: >>>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_iZtm2hhy&d=DwIFAw&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=wV3-oZ_3m8NtSuw_6UTtdU1WptL8Pl1vNOok-EXrcZo&s=802-414zeT59KVCIFVa_uxfSq0XezT7e4OVZibWbIwc&e= >>>>> >>>> >>>> >>>> Jul 16 09:01:42.796 [29903] dbg: dns: entering helper-app run mode >>>> Jul 16 09:01:47.806 [29903] dbg: dns: leaving helper-app run mode >>>> Jul 16 09:01:47.806 [29903] dbg: razor2: razor2 check timed out after 5 >>>> seconds >>> >>> OK so I ran: /var/spool/amavisd/.razor >>> >>> ls -l /var/spool/amavisd/.razor >>> total 100 >>> -rw-r----- 1 amavis amavis 72420 Dec 22 2014 razor-agent.log >>> -rw-r----- 1 amavis amavis 998 Jul 17 09:49 >>> server.c301.cloudmark.com.conf >>> -rw-r----- 1 amavis amavis 998 Jul 17 09:46 >>> server.c302.cloudmark.com.conf >>> -rw-r----- 1 amavis amavis 995 Dec 20 2014 >>> server.c303.cloudmark.com.conf >>> -rw-r----- 1 amavis amavis 57 Jul 17 09:49 servers.catalogue.lst >>> -rw-r----- 1 amavis amavis 30 May 23 2013 servers.discovery.lst >>> -rw-r----- 1 amavis amavis 76 Jul 17 09:49 servers.nomination.lst >>> >>> New pastebin: >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_9RWEYuSt&d=DwIC-g&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=QspHQBi1X_n1ZQylsERsyborPsWRSy3cHQlXJ8FUf7c&s=DZ63JGDSr9nTI6HaajZtLRvUf0ao4tBA4dKtq_77Xlg&e= >>> >>> >>> Still taking 15 seconds. >>> >>> Jul 17 09:55:28 storm spamd[28111]: spamd: clean message (-103.4/5.0) >>> for spamd:1001 in 15.0 seconds, 1843 bytes. >>> Jul 17 09:55:28 storm spamd[28111]: spamd: result: . -103 - >>> ALL_TRUSTED,BAYES_00,FROM_IS_TO,USER_IN_WHITELIST >>> scantime=15.0,size=1843,user=spamd,uid=1001,required_score=5.0,rhost=localhost,raddr=::1,rport=53074,mid=<32889a456ed9c9911ff0034513796858.squirrel@ourdomain>,bayes=0.000000,autolearn=no >>> autolearn_force=no >>> Jul 17 09:55:28 storm spamd[28041]: prefork: child states: II >>> >> >> The error is still the same. Do you even have access to those cloudmark >> razor servers? Does razor work outside of spamassassin/amavisd? > > Is that supposed to be a paid service? This test seems successful. > > razor-check -d < /usr/share/doc/spamassassin/sample-spam.txt > Razor-Log: Computed razorhome from env: /root/.razor > Razor-Log: Found razorhome: /root/.razor > Razor-Log: read_file: 15 items read from /root/.razor/razor-agent.conf
Note that the paths are different when you run this as root. Does it also work when you run it as user amavisd? And don't bother posting the full log unless you're unsure about the actual outcome. You can read them yourself.