Can I greylist only connections from IPs that are on an RBL? Print

  • 0

Can I greylist only connections from IPs that are on an RBL?

 

It is possible to enable greylisting only for messages from IP addresses that fail a realtime black list lookup. To do so, you would need to enable and set the greylisting values you want to use, then disable greylisting and enter a Sieve script to enable it only for IPs that fail an RBL test. To do so, follow these steps: 

  1. Log into the SecurityGateway site with an global administrator account 
  2. Click Security on the left-hand menu
  3. Locate the Anti-Spam section
  4. Click Greylisting
  5. Check the box for 'Enable greylisting'
  6. Set the values you wish to use for the amount of time the delivery attempts will be refused and the expiration of records
  7. Click Save 
  8. Uncheck 'Enable greylisting'
  9. Click Save 
  10. Locate the Advanced section under Security
  11. Click Sieve Scripts
  12. Click New 
  13. Enter a name for the script, such as 'Greylist DNSBL matches'
  14. For Mail Event, select 'RCPT'
  15. Select the scope you wish to use - Global or Domain
  16. If you selected Domain above, select the specific domain to which you wish to apply the script
  17. Enter this script into the Script Text box: require ['securitygateway']; if not lookup 'rblip' 'all' {greylist;}
  18. Click 'Save and Close

Was this answer helpful?

« Back