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 exchange, 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 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.
30 # exclude_mx = ["mx1.example.com"]
33 # SQL query used to produce a list of all forwards on the mail
34 # system. This query should return the set of all (address, goto)
35 # triples, where "goto" is the destination address; i.e. to where
36 # the "address" forwards. The "goto" field may contain more
37 # than one email address, separated by commas.
39 # Default: "SELECT address,goto FROM alias ORDER BY address;"
41 # forward_query = "SELECT address,alias FROM aliases;"
45 # Hostname where the database is located (Postgres-only).
47 # Default: None, a UNIX domain socket connection is attempted (Postgres only)
52 # Password used to connect to the database (Postgres-only).
54 # Default: None (assumes passwordless authentication)
56 # password = "hunter2"
59 # Port number used to connect to the database (Postgres-only).
61 # Default: None, a UNIX domain socket connection is attempted (Postgres only)
67 # Username used to connect to the database (Postgres-only).
69 # Default: The current user
71 # username = "postgres"