I have achieved some improvement on my last message using
spamcheck:
driver = accept
condition = ${if eq {$local_part}{spamcheck} {1}{0} }
no_expn
transport = spam_pipe
spam_pipe:
driver = pipe
command = /usr/bin/spamassassin
return_output
user = root
This returns the information as an error message which does not
look very nice.
I wondered about using an autoreply driver with spamassassin as a
transport filter but initial tests did not work.
John Linn