Is that not an acceptable solution?
Originally Posted by SteveCena
I believe that RedHat systems uses a procmail rule that passes each message to spamd for processing. Ubuntu by default does not come with procmail installed (seems dumb to me, too), but you can install it from the repositories with "sudo apt-get install procmail". Then create /etc/procmailrc and add this "recipe":
This passes every message less than 256000 bytes to spamc for checking against the spamd daemon.
* < 256000
I run MailScanner which does both virus and spam scanning at the SMTP level. It works flawlessly on RedHat-flavored systems like CentOS. I haven't tried the Ubuntu implementation, but it is in the repositories.