As far as I know,
ques...@freebsd.org is a list you can ask any
question on when you're using FreeBSD (within reason) and someone might
redirect you to a better list if appropriate. However, top posting won't
be forgiven !!! :-)
I can't answer your question as you haven't said what configuration
you're using, but assuming it's FreeBSD base (sendmail) + dovecot (the
stock IMAP server really isn't the way to go) then you should be using a
submission port. You're using saslauthd to authenticate users, right?
Configure sendmail to skip filtering on the submission port with
authenticated users.
You may have something like this:
define(`confINPUT_MAIL_FILTERS', `spamassassin')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
F=T,T=C:5m;S:4m;R:3m;E:9m')
DAEMON_OPTIONS(`Port=smtp, Name=MTA, Address=1.2.3.4')
DAEMON_OPTIONS(`Port=submission, Name=MSA2, M=a, Address=1.2.3.4,
InputMailFilters=')
The first two lines declare spamassassin as a filter, which will apply
to all ports.
The third configures port 25 (smtp), which will have the filters applied.
The fourth configures port 587 but, but leaves off the default filters.
This is the trick!
As Doug pointed out, you might want to try a specific mailing list for
the mailer you're using.
Regards, Frank.