X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=example%2Fpostlicyd.conf;h=cff01b96e6c9b899b7fcddb58d59ffafa67eb934;hb=3b63104a32af005a99404d808cc0a1b11181151f;hp=dbfb523c9bd54b6f76bafd2f21e1b1b7799f00c1;hpb=7fa8c1bc673add68529fa2bda8134be5089e8745;p=apps%2Fpfixtools.git diff --git a/example/postlicyd.conf b/example/postlicyd.conf index dbfb523..cff01b9 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -216,6 +216,11 @@ client_whitelist { # - max_age: number (default: 30 * 3600) # lifetime of a greylist/whitelist session: ie, if a client does ne reappear during # max_age seconds, the entries associated to this client are invalidated. +# - cleanup_period: number (default: 86400) +# minimum time between two cleanup of the database. You must keep in mind that cleanup +# is important since it remove useless entries from the database and thus help +# speeding up the lookups. A cleanup can take a few minutes if the database contains +# a lot of entries. # Return value: # - if the client is whitelisted, returns whitelist # - if the client is greylisted, returns greylist @@ -341,4 +346,15 @@ recipient_filter = client_whitelist; port = 10000; + +# LOG FORMAT +# +# Format of the log printed in syslog. The actual format is "${log_format}: ..." +# +# This parameter uses the same format as used to reply to postfix (${field_name} to +# add a field name). + +log_format = "request client=${client_name}[${client_address}] from=<${sender}> " + "to=<${recipient}> at ${protocol_state}"; + # vim:set syntax=conf: