Mathieu, > Spamd was started from root, as there's a socket permission problem when > trying to start it as anything else. > > Amavis is started as root, and then changes to "amavis".
So try it with a command line spamassassin, e.g.: # su amavis -c 'spamassassin -D < 0.txt' and compare the result with what you get from 'amavisd debug-sa'. Pay special attention to paths and SA config files used. Btw, you are brave to run it all under Perl 5.8.0. The 5.8.2 or later would contribute to a less buggy environment. Mark