If it is spam related it is in the spamassassin configuration: (this is from my amavisd config file).
%final_destiny_by_ccat = (
CC_VIRUS, D_DISCARD,
CC_BANNED, D_DISCARD,
CC_UNCHECKED, D_PASS,
CC_SPAM, D_DISCARD,
CC_BADH, D_PASS,
CC_OVERSIZED, D_BOUNCE,
CC_CLEAN, D_PASS,
CC_CATCHALL, D_PASS,
);
So it's handled in a wrapper around spamassassin with mine.
I only bounce oversized to warn the sender, the others are either discarded or passed on.