MacOS: TCP Fast Open
[exim.git] / test / confs / 4600
index ba2135943456978dcf0e5b5f619e6ce16e03dccf..a566535cded3dc4fac97186de074c9ab380886e7 100644 (file)
@@ -1,7 +1,5 @@
 # Exim test configuration 4600
 
 # Exim test configuration 4600
 
-SERVER=
-
 .include DIR/aux-var/std_conf_prefix
 
 primary_hostname = myhost.test.ex
 .include DIR/aux-var/std_conf_prefix
 
 primary_hostname = myhost.test.ex
@@ -10,31 +8,30 @@ primary_hostname = myhost.test.ex
 
 acl_smtp_rcpt = check_rcpt
 
 
 acl_smtp_rcpt = check_rcpt
 
-queue_only
-queue_run_in_order
-
-
 begin acl
 
 check_rcpt:
 begin acl
 
 check_rcpt:
-  accept       hosts =         HOSTIPV4
+  accept       condition =     ${if eq {$received_port}{PORT_D}}
                spf_guess =     pass
                spf_guess =     pass
-               logwrite =      spf_result         $spf_result
+               logwrite =      spf_result         $spf_result (guess <$spf_result_guessed>)
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
+               logwrite =      ${authresults {$primary_hostname}}
 
 
-  accept       hosts =         127.0.0.1
+  accept       condition =     ${if eq {$received_port}{PORT_S}}
                spf =           pass : softfail : neutral
                logwrite =      spf_result         $spf_result
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
                spf =           pass : softfail : neutral
                logwrite =      spf_result         $spf_result
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
+               logwrite =      ${authresults {$primary_hostname}}
 
   deny
 
   deny
-               logwrite =      spf_result         $spf_result
+               logwrite =      spf_result         $spf_result (guess <$spf_result_guessed>)
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
                logwrite =      spf_header_comment $spf_header_comment
                logwrite =      spf_smtp_comment   $spf_smtp_comment
                logwrite =      spf_received       $spf_received
+               logwrite =      ${authresults {$primary_hostname}}
 
 # End
 
 # End