Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Postfix e-mail receiving server setup.

I have applied the following setting in my Postfix file:

    smtpd_recipient_restrictions =

for checking the mails with DNSRBL providers.

I want to know if a certain IP address is continuously attacking with spam on my e-mail server, then how can I get it added with the following DNSRBL provider list:

  1. Spamcop
  2. Spamhaus

thanks in advance.


share|improve this question
up vote 4 down vote accepted

Spamcop requires you to view spam emails to make sure that they really are spam. I don't think they give you an option to have your mta report spam automatically.

Spamhaus offers no way to report spam to them, neither manually (like spamcop) nor automatically.

share|improve this answer

I think the reject_rbl_client is what you are looking for:

smtpd_recipient_restrictions reject_rbl_client, reject_rbl_client
share|improve this answer
How is this basically different from what Ashish already has mentioned in his question? And how does this report the offending IP addresses to different DNSBLs? – joschi Nov 3 '09 at 10:46
I agree with joschi's comment. – Ashish Sharma Nov 3 '09 at 10:53

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.