[exim-dev] [Bug 2736] failure in greylisting ACL after updat…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2736] failure in greylisting ACL after update to Exim v 4.94.2 #2 built 30-Apr-2021 11:34:38
https://bugs.exim.org/show_bug.cgi?id=2736

--- Comment #4 from Alan <alan@???> ---
# BEGIN INSERT greylisting

  # Greylisting
  defer   message = Temporarily unable to process your email. Please try again
later.
          # skip if authenticated (with SMTP AUTH ...)
          !authenticated = *
          !hosts = +recent_recipient_mail_server_ips :
+greylist_trusted_netblocks : +greylist_common_mail_providers :
+cpanel_mail_netblocks
          domains = +local_domains : +relay_domains
          condition = ${sg{${readsocket{/var/run/cpgreylistd.sock}\
                       {should_defer ${sg{$sender_host_address}{ }{\x01}}
${sg{$sender_address}{ }{\x01}} ${sg{$local_part@$domain}{ }{\x01}}\n}\
                       {5s}{\n}{no}}}{\n}{}}
          log_message = Deferred due to greylisting. Host:
'$sender_host_address' From: '$sender_address' To: '$local_part@$domain' SPF:
'${if def:spf_result {$spf_result}{unchecked}}'



# END INSERT greylisting

---------------------------------------
#
# User Level Filtering for virtual users
#

...

virtual_user_overquota:
driver = redirect
domains = !$primary_hostname :
${lookup{$domain}lsearch{/etc/userdomains}{${perl{untaint}{$domain}}}}
require_files = "+$home/etc/$domain_data"
user = "${lookup{$domain_data}lsearch{/etc/userdomains}{$value}}"
router_home_directory = ${extract{5}{::}{${lookup
passwd{${lookup{$domain_data}lsearch{/etc/userdomains}{$value}}}{$value}}}}
condition = "${if match
{${readsocket{/var/run/dovecot/quota-status}{request=smtpd_access_policy\nrecipient=${quote:$local_part}@${quote:$domain_data}\nsize=$message_size\n\n}{3s}{\n}{SOCKETFAIL}}}{action=5}{true}{false}}"
data = ":fail:Mailbox is full / Blocks limit exceeded / Inode limit exceeded"
verify_only
allow_fail
--------------------------------------
# srs is disabled


...

localuser_overquota:
driver = redirect
domains = $primary_hostname
check_local_user
condition = "${if match
{${readsocket{/var/run/dovecot/quota-status}{request=smtpd_access_policy\nrecipient=${quote:$local_part}\nsize=$message_size\n\n}{3s}{\n}{SOCKETFAIL}}}{action=5}{true}{false}}"
data = ":fail:Mailbox is full / Blocks limit exceeded / Inode limit exceeded"
verify_only
allow_fail

---------------------------------------

--
You are receiving this mail because:
You are on the CC list for the bug.