# cat /etc/mail/milter-limit.cf # # milter-limit/0.15.0.0 # # Copyright 2004, 2007 by Anthony Howe. All rights reserved. # # The milter-limit-rcpt-* tags are an absolute limit on the # number of recipients per message and result in a 550 response. # When disabled, the recipient limit is per message transaction # and result in a 452 response. See RFC 2821 section 4.5.3.1. # +absolute-rcpt-limit # Cache entries are stored by matching rule group, except those # matching a bare milter specific tag with no associated IP, # domain, or mail address (which are always cached by individual # regardless). This option will cache all entries according to # individual IP address, AUTH ID, or mail address. # -cache-by-individual # Cache file path for bdb or flatfile types. cache-file=/var/cache/milter-limit.db # Cache garbadge collection frequency. cache-gc-frequency=250 # Cache type from one of: bdb, flatfile, hash cache-type=bdb # Count the DSN null address in connecting client limits. -count-null-sender # Policy to apply if a message limit has been exceeded. Specify # either none, tag, quarantine, later, reject, or discard # policy=later # Subject tag for messages identified as spam. subject-tag=[OVERLIMIT] # Path to the access.db file. access-db=/etc/mail/access.db # Start as a background daemon or foreground application. +daemon # Read option file before command line options. file=/etc/mail/milter-limit.cf # Write the option summary to standard output and exit. The output # is suitable for use as an option file. # #-help or +help # One of the IP addresses for this host. When undefined, then the # IP address will be determined at start-up. # interface-ip= # One of the FQDN for this host. If empty, then the host name will # be automatically determined at start-up. If interface-ip is # undefined, then the name specified here or determined at start-up # will influence the IP address used. # interface-name= # The sendmail/milter connection queue size. milter-queue=20 # The sendmail/milter socket type & name (required): # # {unix|local}:/path/to/file # inet:port@{hostname|ip-address} # inet6:port@{hostname|ip-address} # milter-socket=unix:/var/run/milter/milter-limit.socket # The sendmail/milter I/O timeout in seconds. milter-timeout=7210 # The file path of where to save the process-id. pid-file=/var/run/milter/milter-limit.pid # Quit an already running instance and exit. #-quit or +quit # Strict RFC 2821 domain name length limit. -rfc2821-domain-length # Treat plus-sign as itself; not a sendmail plussed address. -rfc2821-literal-plus # Strict RFC 2821 local-part length limit. -rfc2821-local-length # Strict RFC 2821 grammar for mail addresses. +rfc2821-syntax # Reject occurences of % relay hack in addresses. +reject-percent-relay # Reject RFC 2606 reserved domains. +reject-rfc2606 # Reject top-level-domains not listed by IANA. +reject-unknown-tld # Terminate an already running instance before starting. #-restart or +restart # The process runtime group name to be used when started by root. run-group=milter # The process runtime user name to be used when started by root. run-user=milter # Key lookups must include the terminating NUL byte. Intended for # Postfix with postmap(1) generated .db files; experimental. # -smdb-key-has-nul # Treat a RELAY value same as OK (white-list), else is unknown. -smdb-relay-ok # Use stat() instead of fstat() to monitor .db file updates; experimental. -smdb-use-stat # Assume SMTP authenticated mail is white listed. -smtp-auth-ok # The absolute file path of a text file, containing white space # separated list of global and country top level domains (without # any leading dot), eg. biz com info net org eu fr uk. This list # will override the built-in list. # tld-level-one-file= # The absolute file path of a text file, containing white space # separated list of two-level domains (without any leading dot), # eg. co.uk ac.uk com.au gouv.fr tm.fr. This list will override # the built-in list. # tld-level-two-file= # A comma separated word list of what to write to the mail log: # # all = all messages # info = general info messages # trace = trace progress through the milter # parse = details from parsing addresses or special strings # debug = lots of debug messages # dialog = I/O from smtp dialog # state = state transitions # dns = trace & debug of DNS operations # cache = cache get/put/gc operations # database = sendmail database lookups # socket-fd = socket open & close calls # socket-all = all socket operations # libmilter = libmilter engine diagnostics # verbose= # The working directory of the process. work-dir=/var/tmp