Interesting question. In my master.cf, I have two smtp services : one is listening on the internet SMTP port (25) and the other is listening locally on a unix socket
root@messagerie-secours[CHROOT][10.10.10.19] /home/serveur # grep ^smtp /etc/postfix/master.cf smtp inet n - n - - smtpd -o content_filter=spamassassin smtp unix - - - - - smtp root@messagerie-secours[CHROOT][10.10.10.19] /home/serveur # If mail coming from localhost is deliverd via the unix socket, then you can try and edit that line to add a blank content_filter option, like so : smtp unix - - - - - smtp -o content_filter= See if that works for you (didn't try it myself). -- Yassine.