postfix/postfix.txt

changeset 676
7a7cc794483b
parent 664
3045cab269c7
     1.1 --- a/postfix/postfix.txt	Wed Sep 12 19:10:15 2012 +0200
     1.2 +++ b/postfix/postfix.txt	Thu Sep 13 20:05:49 2012 +0200
     1.3 @@ -25,6 +25,8 @@
     1.4  T_CLIENTS    = clients
     1.5  T_SENDERS    = senders
     1.6  T_CLICRT     = clicrt
     1.7 +T_RECIPIENT  = recipient
     1.8 +T_HELO       = helo
     1.9  
    1.10  #   dependency tracking
    1.11  TIMESTAMP    = .up-to-date
    1.12 @@ -43,7 +45,9 @@
    1.13      $(T_ALIASES).db \
    1.14      $(T_CLIENTS).db \
    1.15      $(T_SENDERS).db \
    1.16 -    $(T_CLICRT).db
    1.17 +    $(T_CLICRT).db \
    1.18 +    $(T_RECIPIENT).db \
    1.19 +    $(T_HELO).db
    1.20  
    1.21  #   default target
    1.22  all: $(TABLES) $(TIMESTAMP)
    1.23 @@ -79,6 +83,10 @@
    1.24  	$(POSTMAP) hash:$(T_SENDERS)
    1.25  $(T_CLICRT).db: $(T_CLICRT) $(MAKEFILE)
    1.26  	$(POSTMAP) hash:$(T_CLICRT)
    1.27 +$(T_RECIPIENT).db: $(T_RECIPIENT) $(MAKEFILE)
    1.28 +	$(POSTMAP) hash:$(T_RECIPIENT)
    1.29 +$(T_HELO).db: $(T_HELO) $(MAKEFILE)
    1.30 +	$(POSTMAP) hash:$(T_HELO)
    1.31  
    1.32  #   cleanup target
    1.33  clean: 
    1.34 @@ -440,3 +448,59 @@
    1.35  #   | 18:81:F5:22:18:BA:EB:15:FF:40:30:00:EA:C0:B4:2E:EC:AE:86:8E user2
    1.36  
    1.37  </file>
    1.38 +<file name="recipient">
    1.39 +##
    1.40 +##  @l_prefix@/etc/postfix/recipient -- control for relaying recipients
    1.41 +##
    1.42 +##  Searched for RCPT TO address, domain, parent domains, or localpart@
    1.43 +##  and rejects the request if the result is REJECT or "[45]XX text" or
    1.44 +##  permits the request if the result is OK or RELAY or all-numerical.
    1.45 +##
    1.46 +
    1.47 +#   Syntax (see access(5)):
    1.48 +#   | user@domain        action
    1.49 +#   | domain             action
    1.50 +#   | user@              action
    1.51 +#   | net.work.addr.ess  action
    1.52 +#   | net.work.addr      action
    1.53 +#   | net.work           action
    1.54 +#   | net                action
    1.55 +#   where "action" is one of:
    1.56 +#   "[45]NN text", "REJECT", "OK", "restriction..."
    1.57 +#
    1.58 +#   Examples:
    1.59 +#   | mail.example.com OK
    1.60 +#   | example.com      REJECT
    1.61 +#   | 192.168.0.1      OK
    1.62 +#   | 192.168          REJECT
    1.63 +#   | postmaster@      OK
    1.64 +
    1.65 +</file>
    1.66 +<file name="helo">
    1.67 +##
    1.68 +##  @l_prefix@/etc/postfix/helo -- control for relaying helo transmissions
    1.69 +##
    1.70 +##  Searched for HELO or EHLO hostname or parent domains and rejects the
    1.71 +##  request if the result is REJECT or "[45]XX text" or permits the request
    1.72 +##  if the result is OK or RELAY or all-numerical.
    1.73 +##
    1.74 +
    1.75 +#   Syntax (see access(5)):
    1.76 +#   | user@domain        action
    1.77 +#   | domain             action
    1.78 +#   | user@              action
    1.79 +#   | net.work.addr.ess  action
    1.80 +#   | net.work.addr      action
    1.81 +#   | net.work           action
    1.82 +#   | net                action
    1.83 +#   where "action" is one of:
    1.84 +#   "[45]NN text", "REJECT", "OK", "restriction..."
    1.85 +#
    1.86 +#   Examples:
    1.87 +#   | mail.example.com OK
    1.88 +#   | example.com      REJECT
    1.89 +#   | 192.168.0.1      OK
    1.90 +#   | 192.168          REJECT
    1.91 +#   | postmaster@      OK
    1.92 +
    1.93 +</file>

mercurial