ifelse(SECTION, `ACL_CHECK_RCPT', `dnl warn set acl_m0 = ifdef(`confWHITE_LIST_RELAYS', `ifelse(confWHITE_LIST_RELAYS, `NO', `', ` warn condition = ${if eq{${extract{white_list_relays}{$acl_m_wl_flag_msg}}}{1}{yes}{no}} set acl_m0 = skip ')') warn condition = ${if eq{$acl_m0}{}{yes}{no}} condition = ${if eq{${lc:$sender_address}}{${lc:$local_part@$domain}}{yes}{no}} set acl_m0 = skip ifelse_strstr(confAWL, `DBM', ` warn condition = ${if eq{$acl_m0}{}{yes}{no}} set acl_m0 = ${lookup{${lc:$sender_address<@>$local_part@$domain}}dbm{confAWL_DBM_FILE}} condition = ${if <{$acl_m0}{$tod_epoch}{yes}{no}} set acl_m0 = ') dnl ifelse_strstr(confAWL, `DBM', `') ifelse(confAWL, `MYSQL', ` warn condition = ${if eq{$acl_m0}{}{yes}{no}} set acl_m0 = ${lookup mysql{confAWL_MYSQL_CHECK}} condition = ${if eq{$acl_m0}{}{no}{yes}} condition = ${if <{$acl_m0}{$tod_epoch}{yes}{no}} set acl_m0 = ') dnl ifelse(confAWL, `MYSQL', `') ifelse(confAWL, `SQLITE', ` warn condition = ${if eq{$acl_m0}{}{yes}{no}} set acl_m0 = ${lookup sqlite{confAWL_SQLITE_FILE confAWL_SQLITE_CHECK}} condition = ${if eq{$acl_m0}{}{no}{yes}} condition = ${if <{$acl_m0}{$tod_epoch}{yes}{no}} set acl_m0 = ') dnl ifelse(confAWL, `SQLITE', `') warn condition = ${if eq{$acl_m0}{}{no}{yes}} condition = ${if eq{$acl_m0}{skip}{no}{yes}} log_message = $sender_address => $local_part@$domain autowhitelisted add_header = X-Spam-Info-Envelope: $sender_address => $local_part@$domain autowhitelisted on $primary_hostname\n accept condition = ${if eq{$acl_m0}{}{no}{yes}} condition = ${if eq{$acl_m0}{skip}{no}{yes}} set acl_m9 = white_list_compat=1 $acl_m9 set acl_m_wl_flag_msg = white_list_compat=1 $acl_m_wl_flag_msg acl = acl_check_rcpt_before_accept ') dnl ifelse(SECTION, `ACLS_CHECK_RCPT', `') ifelse(SECTION, `ACLS_ADDITIONAL', `dnl warn set acl_m0 = no warn hosts = +relay_from_hosts set acl_m0 = yes warn authenticated = * set acl_m0 = yes warn sender_domains = confAWL_SENDER_DOMAINS condition = ${if eq{${lc:$sender_address_local_part}}{postmaster}{no}{yes}} condition = ${if eq{${lc:$local_part}}{postmaster}{no}{yes}} condition = ${if eq{$sender_address}{}{no}{yes}} condition = $acl_m0 ifelse_strstr(confAWL, `DBM', ` condition = ${if eq{\ ${perl{dbm_save}{confAWL_DBM_FILE}\ {${lc:$local_part@$domain<@>$sender_address}}\ {${eval:$tod_epoch+60*confAWL_PERIOD}}\ }\ }{}{yes}{yes}} ') dnl ifelse(confAWL, `DBM', `') ifelse_strstr(confAWL, `MYSQL', ` set acl_m1 = ${if eq{${lookup mysql{confAWL_MYSQL_SELECT}}}{}{\ ${lookup mysql{confAWL_MYSQL_INSERT}}\ }{\ ${lookup mysql{confAWL_MYSQL_UPDATE}}\ }} ') dnl ifelse(confAWL, `MYSQL', `') ifelse_strstr(confAWL, `SQLITE', ` set acl_m1 = ${if eq{${lookup sqlite{confAWL_SQLITE_FILE confAWL_SQLITE_SELECT}}}{}{\ ${lookup sqlite{confAWL_SQLITE_FILE confAWL_SQLITE_INSERT}}\ }{\ ${lookup sqlite{confAWL_SQLITE_FILE confAWL_SQLITE_UPDATE}}\ }} ') dnl ifelse(confAWL, `SQLITE', `') ') dnl ifelse(SECTION, `ACLS_ADDITIONAL', `')