X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fman1%2Flist-remote-forwards.1;h=851cd60f8f0affdde92edb7e44640b4b5a1b6e34;hb=f5a559d5a48434aa9fba4792730c4b71c727d1d2;hp=77eec6e43bbd469b7536fc908ad2153094e69590;hpb=f75845314598408bce3a1b972f2ba274d93d0e8d;p=list-remote-forwards.git diff --git a/doc/man1/list-remote-forwards.1 b/doc/man1/list-remote-forwards.1 index 77eec6e..851cd60 100644 --- a/doc/man1/list-remote-forwards.1 +++ b/doc/man1/list-remote-forwards.1 @@ -15,10 +15,10 @@ A list of addresses that are forwarded to remote domains. .SH DESCRIPTION .P A list of local domains is supplied to the program (more or less) -through the \fI\-\-domain\-query\fR option. Any addresses which -forward to another address not contained in this list of local domains -is considered a remote forward. Remote forwards can cause problems for -a number of reasons, the most common of which are, +through the \fI\-\-domain\-query\fR option. Any addresses in the list +that forward to an address \fBnot\fR in the list are considered remote +forwards. Remote forwards can cause problems for a number of reasons, +the most common of which are, .IP \(bu 2 If the sender has an SPF record authorizing his mail server to send mail on his behalf, then when his message is forwarded by the @@ -47,7 +47,8 @@ SQL query used to produce a list of local domains. This should return the set of all domains (i.e one column) that are local to the server. See the default value for an example. -Default: \(dqSELECT domain FROM domain WHERE domain <> 'ALL' ORDER BY domain;\(dq +Default: \(dqSELECT domain FROM domain WHERE domain <> 'ALL' ORDER BY +domain;\(dq .IP \fB\-\-exclude-mx\fR,\ \fB-e\fR The name of a mail exchanger, the forwards of whose domains we should @@ -93,6 +94,16 @@ Username used to connect to the database (Postgres-only). Default: The current user +.SH CONFIGURATION FILE + +Any of the options above can be placed in a configuration file rather +than passed on the command line. An example config file +\fIdoc/list-remote-forwardsrc.example\fR is included with the +source. You can edit it and rename it to either +\fI$sysconfdir/list-remote-forwardsrc\fR or +\fI~/.list-remote-forwardsrc\fR. The variable \fI$sysconfdir\fR is +determined at build time and is typically \fI/etc\fR on UNIX systems. + .SH EXAMPLES .nf