2 # Sample configuration file for list-remote-forwards.
5 # The name of the database (or file, if SQLite) to which we should connect.
7 # Default: The name of the current user (Postgres only)
9 # database = "postfixadmin"
12 # SQL query used to produce a list of local domains. This should return
13 # the set of all domains (i.e one column) that are local to the
14 # server. See the default value for an example.
16 # Default: "SELECT domain FROM domain WHERE domain <> 'ALL' ORDER BY domain;"
18 # domain_query = "SELECT DISTINCT domain FROM alias;"
21 # The name of a mail exchanger, the forwards of whose domains we should
22 # ignore. For example, if one mail exchanger, mx1.example.com, has
23 # strict spam filtering, it may be acceptable to have remote forwarding
24 # for domains that have mx1.example.com as their sole mail exchanger (MX
25 # record). In that case, you might want to exclude those domains from
26 # the report, by naming mx1.example.com here.
28 # A forward will be excluded from the report only if *all* of its MX
29 # records are contained in the given exclude list.
33 # exclude_mx = ["mx1.example.com"]
36 # SQL query used to produce a list of all forwards on the mail
37 # system. This query should return the set of all (address, goto)
38 # triples, where "goto" is the destination address; i.e. to where
39 # the "address" forwards. The "goto" field may contain more
40 # than one email address, separated by commas.
42 # Default: "SELECT address,goto FROM alias ORDER BY address;"
44 # forward_query = "SELECT address,alias FROM aliases;"
48 # Hostname where the database is located (Postgres-only).
50 # Default: None, a UNIX domain socket connection is attempted (Postgres only)
55 # Password used to connect to the database (Postgres-only).
57 # Default: None (assumes passwordless authentication)
59 # password = "hunter2"
62 # Port number used to connect to the database (Postgres-only).
64 # Default: None, a UNIX domain socket connection is attempted (Postgres only)
70 # Username used to connect to the database (Postgres-only).
72 # Default: The current user
74 # username = "postgres"