So are you saying that amavis would replace the uses of the sendmail
command here to deliver the email? I'm not familiar with amavis. I'll
search on it.
yes.
Perhaps you could replace the sendmail with postfix' lmtp command.
But I'm not sure whether if could work and wht exact syntax to use.
note that the downside of amavis is that is uses one user account and
therefore single bayes database.
OK, that would be a show stopper for me as I'd much prefer to allow each
user to have their own bayes database. My users will be using roundcube
with the markasjunk plugin which will report to the user's individual
bayes database.