SysAdmin EM: > Hello, > > I am using a suppression list in MySql with Postfix. > > smtpd_recipient_restrictions = check_recipient_access mysql:/etc/postfix/ > mysql-virtual-recipient-access.cf > > query = SELECT access FROM virtual_sender_access WHERE source='%s' > > the question is, is it possible to use boolean data? > > like this: > > SELECT COUNT(1) FROM virtual_sender_access WHERE source = 'u...@gmail.com'?
The check_recipient_access lookup result must be as described in http://www.postfix.org/access.5.html Wietse