On Mar 24, 2016, at 12:10 PM, Daniel J. Luke <dl...@geeklair.net> wrote: > /usr/bin/time spamassassin < spam.msg > 7.92 real 1.85 user 0.13 sys > > /usr/bin/time spamc -U /var/run/spamd.sock < spam.msg > 126.44 real 0.00 user 0.00 sys
well, it looks like it's DNS related, somehow. The first (and longest) pause is between these two log messages (spamd -D): Mar 28 13:53:47 lintilla spamd[1532]: dns: LocalAddr: [0.0.0.0]:48704, name server: [127.0.0.1]:53, module IO::Socket::IP Mar 28 13:54:48 lintilla spamd[1532]: dns: resolver socket rx buffer size is 196724 bytes, local port 48704 The second pause is during the adsp lookup. On the box, I'm running unbound (listening on 127.0.0.1 and ::1). It's the only nameserver available in /etc/resolv.conf and I've tried both with and without setting dns_server in my local.cf I'm still confused as to why 'spamassassin' doesn't have a problem but 'spamd' does. I'm running SA 3.4.1 with perl5.22.1. I've tried both downgrading Net::DNS to 0.83 and upgrading it to 1.05_2 Any thoughts would be appreciated. -- Daniel J. Luke