grey-listing

最後更新: 2022-08-12

sqlgrey 介紹

  • written in Perl
  • uses DBI to access an SQL database

HomePage: http://sqlgrey.sourceforge.net/

 

 


Service

 

/etc/init.d/sqlgrey status

 

postfix setting

smtpd_recipient_restrictions =...
 check_policy_service inet:127.0.0.1:2501

設定

/etc/sqlgrey

  • sqlgrey.conf
  • clients_fqdn_whitelist
  • clients_fqdn_whitelist.local
  • clients_ip_whitelist
  • clients_ip_whitelist.local

sqlgrey.conf

# 1 minute
reconnect_delay = 1

# 1 hr (對方的 ticket 有效長度)
max_connect_age = 1

# further incoming connections from this host will be (temporarily)
# refused without new entries being created in the connect table (until
# some already waiting entries have been successfully retried).
connect_src_throttle = 5

 

Creative Commons license icon Creative Commons license icon