mouss qpeqrnetoyennet dennis trabjerg wrote implemented etcpostfixper_recipient_greylistcf following hosts mymysqlserver user postfix_mysql_username password postfix_mysql_password dbname postfix_database table postfix_usernames select_field policy_service where_field email_address postfix isnt old better move modern syntax hosts user password dbname query select policy_service postfix_usernames email_address modified postfix_usernames table contain column policy_service containing either check_service enable greylisting ok bypass greylisting added restriction class called check_greylist smtpd_restriction_classes check_greylist check_greylist check_policy_service inet12700160000 added per_recipient_greylistcf recipient restrictions maincf im wondering happen mysql query returns something else ok check_greylist returns valid action reject used whether want implemenbt rejectdiscard recipients want guard add policy_service check_greylist ok query also curious try approach userpreferencebased amavisdnew policyd services comments issue would possible common design merges preferences ive never worked implemented solution lowvolume backupmx tailing logs moment concers using setup production enviroment far mysql server runs well see problem dont forget use proxymap minimize number mysql connections wed 06 aug 2008 025844 0100 selective greylisting based user preference