Postfix - Activando TrendMicro Network Reputation Services
Note: Insert your unique valid "activation code" to replace the instructional text example; do not include any dashes.
Follow the steps below to configure your Postfix to use Trend Micro Network Reputation Services DNSBL zone with a custom error message.
Add the additional RBL wherever you normally do that. While it's really a client check, have it in "smtpd_recipient_restrictions" (as is recommended by many experts) as that is needed if you want to whitelist any recipients (e.g. Postmaster). Putting it as a recipient restriction only affects the timing (after the RCPT TO command), not the effect.
smtpd_recipient_restrictions= ... reject_rbl_client activationcode.r.mail-abuse.com, ...
Add the command to check for a rbl_reply map.
rbl_reply_maps = hash:/$config_directory/rbl_reply
Create the rbl_reply map and "postmap" it.
?.. add these lines to the rbl_reply file??
# This file has to be "compiled" with "postmap"...
$ postmap hash:rbl_reply
activationcode.r.mail-abuse.com 550 Service unavailable; $rbl_class [$rbl_what] blocked using Trend Micro RBL+. Please see http://www.mail-abuse.com/cgi-bin/lookup?ip_address=$rbl_what${rbl_reason?; $rbl_reason}
?.. add these lines to the rbl_reply file??
· Save and then type 'postmap hash:rbl_reply' to create the hash table.
Reload postfix by typing "postfix reload"
activationcode.r.mail-abuse.com 550 Service unavailable; $rbl_class [$rbl_what] blocked using Trend Micro RBL+. Please see http://www.mail-abuse.com/cgi-bin/lookup?ip_address=$rbl_what${rbl_reason?; $rbl_reason}
?.. add these lines to the rbl_reply file??
· Save and then type 'postmap hash:rbl_reply' to create the hash table.
Reload postfix by typing "postfix reload"
0 Comments:
Publicar un comentario
<< Home