How do I specify the Activation Code for ERS? Parent topic

You can provide the Activation Code during installation, or you can modify it after installation.
To modify the Activation Code, edit the Postfix configuration files located in the same computer as Email reputation. These files are main.cf, imss_rbl_reply, and imss_rbl_reply.user.
The imss_rbl_reply.user file may not exist. If it exists, modify it. Otherwise, you can omit it.
After installing Email reputation, you should see similar contents in the three configuration files as follows:
  • main.cf
    smtpd_client_restrictions = reject_rbl_client
    APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.r.mail-abuse.com,
    reject_rbl_client 
    APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.q.mail-abuse.com
    
  • imss_rbl_reply
    APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.q.mail-abuse.com 450 
    Service temporarily unavailable; $rbl_class [$rbl_what]
    blocked using Trend MicroEmail 
    Reputation Service. See 
    http://www.mail-abuse.com/cgi-bin/lookup?ip_address=
    $rbl_what${rbl_reason?; $rbl_reason}
    APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.r.mail-abuse.com 550
    Service unavailable; $rbl_class [$rbl_what] blocked 
    using Trend MicroRBL+. See
    http://www.mail-abuse.com/cgi-bin/lookup?ip_address=
    $rbl_what${rbl_reason?; $rbl_reason}
    
  • imss_rbl_reply.user
    APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.q.mail-abuse.com 450 
    error message; $rbl_class [$rbl_what] blocked using
     Trend Micro Email Reputatio 
    Service. See
    http://www.mail-abuse.com/cgi-bin/lookup?ip_address=
    $rbl_what${rbl_reason?; $rbl_reason}
    "APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R.r.mail-abuse.com 450 
    error message; $rbl_class [$rbl_what] blocked using 
    Trend Micro RBL+. See
    http://www.mail-abuse.com/cgi-bin/lookup?ip_address=
    $rbl_what${rbl_reason?; $rbl_reason}
    
Replace the old Activation Code with your new Activation Code in these three files. The old Activation Code shown in the above examples is:
APRSJFK8BDTM2EEDBJY3LH5RJZ5CR9R
Note
Note
You do not need to type the dash ‘-’ for the Activation Code.
After editing the configuration files, restart Postfix using the commands:
# postfix stop
# postfix start