how can i disable outbound mail in postfix?

Solution 1:

I think setting default_transport = error: This server sends mail only locally. in /etc/postfix/main.cf should work.