Eric Yellin schrieb:
'./dspam --process --user zimbra --deliver=spam,innocent --stdout <
email.txt'

So it has something to do with dspam (not with some glue code in amavisd-new/zimbra).

Takes over 3 minutes...  when running the same with user 'root' it took
a split second.

It depends on your user's profile.

Output seems very different.... Does this explain anything?

I think your user profiles are different, therefore different terms show up in the headers.

To enable debug logging I need to have DSPAM compiled with the
--enable-debug option. It is not...

Sure? Quoting yourself:
Configuration parameters: --prefix=/opt/zimbra/dspam-3.6.2
--sysconfdir=/opt/zimbra/conf --with-logdir=/opt/zimbra/log
--enable-daemon --enable-large-scale
--with-storage-driver=hash_drv,mysql_drv
--with-mysql-includes=/opt/zimbra/mysql/include/mysql
--with-mysql-libraries=/opt/zimbra/mysql/lib --enable-debug --enable-clamav
                                                       ^^^^^^^^^^^^^^^^
?

I saw that clamav is enabled in your configuration. Can you look if it is disabled in your configuration file? Can you look through the configuration file to watch out for some "suspicious" parameters?

Btw: While you pipe a mail through dspam, does the dspam process use up all your free cpu time or does it just wait? Maybe it waits for a connection to clamd/mysql...

HTH
fs

Reply via email to