masqmail

view examples/masqmail.conf @ 421:f37384470855

Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup. Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk we do well to have the lock files there.) Added the new configure option --with-lockdir to change that location. Nontheless, if we run_as_user, then lock files are always stored in the spool dir directly. Instead of installing the lockdir and piddir at installation time, we create them on startup time now if they are missing. This is necessary if lockdir or piddir are a tmpfs.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 09:38:38 +0200
parents 08932c629849
children
line source
1 # masqmail.conf
2 # Example configuration for masqmail
5 # The name with which masqmail identifies itself to others:
6 # CHANGING THIS IS REQUIRED!
7 host_name="striped.patchwork.net"
9 # accept connections on these interfaces:
10 # Change this to something like: "localhost:25;foo:25" if other machines
11 # on your network shall be able to connect to masqmail.
12 #listen_addresses="localhost:25"
14 # use syslogd for logs?
15 #use_syslog=false
18 # online detection:
19 #
20 # for 'file' uncomment next 2 lines
21 #online_query = "/bin/cat /var/tmp/masqmail-route"
24 # example for local delivery to an mda:
25 #
26 #mbox_default=mda
27 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
30 # alias expansion:
31 #
32 #alias_file = "/etc/aliases"
33 #caseless_matching = false
36 # routes
37 # CHANGING THIS IS REQUIRED!
39 # set up a route for the local net:
40 #permanent_routes = "/etc/masqmail/localnet.route"
42 # You can use as many routes (one for each provider) as you like:
43 #query_routes.example = "/etc/masqmail/example.route"
45 # you can also give a list of routes for a single connection:
46 #query_routes.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"