user FILTER localhost:port
и в master.cf что-типа
127.0.0.1:2525 inet n - n - - smtpd -o content_filter =