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 am implementing a blacklist filter for a SMTP relay, which allows the user to define rules based on sender email, receiver email, sender ip or a combination of these. What SMTP status code should it reply if the email gets blocked because it is found to be blacklisted?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Postfix defaults to handle reject_rbl_client blacklists by sending a 554 (Transaction failed) together with a textual explanation. A google search also suggest that being a rather common practice in dealing with blacklists.

share|improve this answer
    
I will use "554 5.7.1. Blacklisted" –  Tom Jul 21 '10 at 9:28

Your Answer

 
discard

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.