abstract
changeset 4 e5b96f03fc29
parent 3 c12f0d93a45d
child 5 2994ba652074
equal deleted inserted replaced
3:c12f0d93a45d 4:e5b96f03fc29
   337     acl_smtp_rcpt      ACL for RCPT
   337     acl_smtp_rcpt      ACL for RCPT
   338     acl_smtp_starttls  ACL for STARTTLS
   338     acl_smtp_starttls  ACL for STARTTLS
   339     acl_smtp_vrfy      ACL for VRFY
   339     acl_smtp_vrfy      ACL for VRFY
   340 
   340 
   341     acl_<hook> = <aclverb> | <filename> | <acl-name>
   341     acl_<hook> = <aclverb> | <filename> | <acl-name>
       
   342                  
   342     eg: acl_smtp_rcpt = acl_check_rcpt
   343     eg: acl_smtp_rcpt = acl_check_rcpt
       
   344         acl_smtp_rcpt = acl_check_rcpt_${primary_hostname}
   343 
   345 
   344 ## Policies
   346 ## Policies
   345 
   347 
   346 ### acl_smtp_rcpt
   348 ### acl_smtp_rcpt
   347  
   349  
   364     implizit "deny" am Ende jeder ACL!
   366     implizit "deny" am Ende jeder ACL!
   365 
   367 
   366 
   368 
   367 ## Test
   369 ## Test
   368 
   370 
   369    > exim -bh <ip>
   371    > exim -bh <ip>  # ohne callouts
       
   372    > exim -bhc <ip> # mit callouts
   370    > swaks --pipe 'exim -bh <ip> -C <config>' -f <sender> -t <rcpt>
   373    > swaks --pipe 'exim -bh <ip> -C <config>' -f <sender> -t <rcpt>
   371 
   374 
   372    exim -N hilft nicht, ist aber nicht für die SMTP acl
   375    exim -N hilft nicht, ist nicht für die SMTP acl
   373    relevant!
   376    relevant!
   374 
   377 
   375 ## Format
   378 ## Format
   376 
   379 
   377    <aclverb>    [<condition>]
   380    <aclverb>    [<condition>]
   389 
   392 
   390     message = [code] text
   393     message = [code] text
   391     log_message = text
   394     log_message = text
   392 
   395 
   393     Immediate:
   396     Immediate:
   394         logwrite = text
   397         logwrite      = …
   395         control = …
   398         control       = …
   396         set = …
   399         set           = …
   397         add_header = …
   400         add_header    = …
   398         remove_header = …
   401         remove_header = …
       
   402         delay         = …
   399 
   403 
   400 ### Conditions
   404 ### Conditions
   401 
   405 
   402     <condition> = <value>
   406     <condition> = <value>
   403 
   407 
   419 # DNS Lookups
   423 # DNS Lookups
   420 
   424 
   421 ## DNSSEC
   425 ## DNSSEC
   422   dns_dnssec_ok = 1
   426   dns_dnssec_ok = 1
   423 
   427 
   424   dnslookup.dnssec_require_domains = 
   428   dnslookup.dnssec_require_domains =        # leider noch falsche Syntax
   425        smtp.dnssec_require_domains = 
   429        smtp.dnssec_require_domains =        # leider noch falsche Syntax
   426   dnslookup.dnssec_request_domains = 
   430   dnslookup.dnssec_request_domains =        # leider noch falsche Syntax
   427        smtp.dnssec_request_domains = 
   431        smtp.dnssec_request_domains =        # leider noch falsche Syntax
   428 
   432 
   429 # Anhang
   433 # Anhang
   430 
   434 
   431 ## Misc
   435 ## Misc
   432 
   436 
   433     Spec.txt durchsuchen (less):
   437     Spec.txt durchsuchen (less):
   434     - Option        /^.<option>         eg: |exim_user|
   438     - Option         /^.<option>         eg: |exim_user|
   435     - Variable      /^\$[^{]            eg: $localhost_number
   439     - Variable       /^\$<variable       eg: $localhost_number
   436     - Operators:    /^\$\{<operator>    eg: ${hash:<string>} …
   440     - Operators:     /^\$\{<operator>:   eg: ${hash:<string>} …
   437     - Condition:    /^<condition> \{    eg: eq {<string1>}{<string2>} …
   441     - Condition:     /^<condition> \{    eg: eq {<string1>}{<string2>} …
   438     - Functions:    /^\$\{              eg: ${map{<string1>}{<string2>}} …
   442     - Functions:     /^\$\{<function\{   eg: ${map{<string1>}{<string2>}} …
   439     - ACL conditions /^[a-z]
   443     - ACL conditions /^<condition> =     eg: malware = …
       
   444 
       
   445 // Die folgenden Listen sind durch einfaches Greppen im Spec-File bzw. 
       
   446 // im spec.xfpt enstanden, also weder vollständig noch zwingend korrekt!
   440 
   447 
   441 ## Liste globaler Optionen {{{
   448 ## Liste globaler Optionen {{{
   442 
   449 
   443     accept_8bitmime
   450     accept_8bitmime
   444     acl_not_smtp
   451     acl_not_smtp