Customising SpamAssassin with Amavis

Mark Martinec Mark.Martinec+amavis at ijs.si
Thu Nov 3 16:40:25 CET 2011


Simon,

> Nov  2 16:13:31.459 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> Tools code           NOT loaded
> --  How can I fix this?  What's it for?

This is normal. It is only loaded when using one of the command line options:

  showkeys {domains}
  testkeys {domains}
  genrsa file_name [nbits]
  convert_keysfile file_name

> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .7z   tried: 7zr, 7za, 7z

Install the '7z' decoder if you want decoding of 7zip files,
otherwise don't bother.

> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .rar  tried: unrar-free

Install unrar or rar (or  unrar-free in your case), if you want.

> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .arj  tried: arj, unarj

Same for arj or unarj.

> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .arc  tried: nomarch, arc

Same for nomarch or arc.

... etc...

> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .zoo  tried: zoo
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .lha
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .doc  tried: ripole
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .cab  tried: cabextract
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .tnef
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> Internal decoder for .tnef
> Nov  2 16:13:31.461 mail.spamfreeisp.net /usr/sbin/amavisd-new[21323]:
> No decoder for       .exe  tried: unrar-free; arj, unarj
> --  How can I fix these?


> I still miss a way to see if the SpamCop plugin is correctly sending
> spam to spamcop.

I haven't tried it myself.
Should just follow the man page of this plugin
( man Mail::SpamAssassin::Plugin::SpamCop ).

> Yes, it's working when I added it to 330.pre.  Would a local.pre
> suppliment the other .pre files or replace it (that would be what I
> understood from your tip above).

All the .pre files it can find in its config directory are read
by SpamAssassin on startup (i.e. supplement, not replace).
Similarly for .cf files at a later stage of SpamAssassin initialization.

  Mark


More information about the amavis-users mailing list