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?

link|improve this question
feedback

1 Answer

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.

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

Your Answer

 
or
required, but never shown

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