When I added the -x flag to spams-milter I did get mysql and virtual user lookups, but I also get delivery status reports for every single message the server processes delivered to the root mailbox.
from man sendmail: -bv Do not collect or deliver a message. Instead, send an email report after verifying each recipient address. This is useful for testing address rewriting and routing configurations. man spamass-milter: -x Pass the recipient address through sendmail -bv, which will per- form virtusertable and alias expansion. The resulting username is then passed to spamc. Requires the -u flag. Is there anything I can do to get the lookup I want from -x without the report I don’t want from sendmail? (without the -x I get "spamd: handle_user (userdir) unable to find user: ‘ron’” for all virtual users) -- 'Things either exist or they don't,' said Jeremy. 'I am very clear about that. I have medicine.' --The Thief of Time