Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a mailrelay based on postfix working with amavisd-new and spamassassin on one of my clients. It simply works well. The problem is they want to block mails comming from hotmail, yahoo and gmail containing words like "Let's go destroy" for e.g.

I am trying something like proxysmtp but with no success. And based on the mail traffic, the machine will die.

Can you help me?

share|improve this question
Have you tried procmail? –  EEAA Sep 25 '11 at 4:41
Create a rule for SpamAssassin for this particular problem. And give it a high score (3.5 for example). –  mailq Sep 25 '11 at 9:08
Or use the built-in content inspection postfix.org/CONTENT_INSPECTION_README.html –  mailq Sep 25 '11 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.