X-Git-Url: http://gitweb.michael.orlitzky.com/?p=list-remote-forwards.git;a=blobdiff_plain;f=list-remote-forwards.cabal;h=4718b35534331b0a5bd58ca1f9d54a44a1126cc7;hp=e6b4ece839e7deafcbfdc758f6ced147491a42ad;hb=bf367c0d7450fbe148a0a22681384954978bde21;hpb=fed9e141735b74540fd380b051671ac1c451a178 diff --git a/list-remote-forwards.cabal b/list-remote-forwards.cabal index e6b4ece..4718b35 100644 --- a/list-remote-forwards.cabal +++ b/list-remote-forwards.cabal @@ -73,7 +73,22 @@ description: Default: \"SELECT domain FROM domain WHERE domain <> 'ALL' ORDER BY domain;\" . @ - \--forward-query + \--exclude-mx, -e + @ + . + The name of a mail exchanger, the forwards of whose domains we should + ignore. For example, if one mail exchanger, mx1.example.com, has + strict spam filtering, it may be acceptable to have remote forwarding + for domains that have mx1.example.com as their mail exchanger (MX + record). In that case, you might want to exclude those domains from + the report by naming mx1.example.com here. + . + Can be repeated to exclude more than one mail exchanger. + . + Default: [] (empty) + . + @ + \--forward-query, -f @ . SQL query used to produce a list of all forwards on the mail @@ -85,7 +100,7 @@ description: Default: \"SELECT address,goto FROM alias ORDER BY address;\" . @ - \--host + \--host, -h @ . Hostname where the database is located (Postgres-only). @@ -108,7 +123,7 @@ description: Default: None, a UNIX domain socket connection is attempted (Postgres only) . @ - \--username + \--username, -u @ . Username used to connect to the database (Postgres-only). @@ -123,6 +138,7 @@ description: user2@example.com -> user1@example.org user2@example.com -> user2@example.org user2@example.com -> user3@example.org + user7@example.com -> user8@example.net @ executable list-remote-forwards @@ -209,6 +225,33 @@ test-suite testsuite -O2 +test-suite doctests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Doctests.hs + build-depends: + base == 4.*, + -- Additional test dependencies. + doctest >= 0.9, + filemanip >= 0.3.6 + + -- It's not entirely clear to me why I have to reproduce all of this. + ghc-options: + -Wall + -fwarn-hi-shadowing + -fwarn-missing-signatures + -fwarn-name-shadowing + -fwarn-orphans + -fwarn-type-defaults + -fwarn-tabs + -fwarn-incomplete-record-updates + -fwarn-monomorphism-restriction + -fwarn-unused-do-bind + -rtsopts + -threaded + -optc-O3 + -optc-march=native + source-repository head type: git