masqmail

annotate 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
rev   line source
meillo@183 1 # masqmail.conf
meillo@37 2 # Example configuration for masqmail
meillo@0 3
meillo@0 4
meillo@37 5 # The name with which masqmail identifies itself to others:
meillo@0 6 # CHANGING THIS IS REQUIRED!
meillo@0 7 host_name="striped.patchwork.net"
meillo@0 8
meillo@0 9 # accept connections on these interfaces:
meillo@183 10 # Change this to something like: "localhost:25;foo:25" if other machines
meillo@183 11 # on your network shall be able to connect to masqmail.
meillo@183 12 #listen_addresses="localhost:25"
meillo@0 13
meillo@0 14 # use syslogd for logs?
meillo@183 15 #use_syslog=false
meillo@0 16
meillo@0 17
meillo@0 18 # online detection:
meillo@0 19 #
meillo@0 20 # for 'file' uncomment next 2 lines
meillo@418 21 #online_query = "/bin/cat /var/tmp/masqmail-route"
meillo@0 22
meillo@183 23
meillo@0 24 # example for local delivery to an mda:
meillo@0 25 #
meillo@0 26 #mbox_default=mda
meillo@0 27 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
meillo@0 28
meillo@183 29
meillo@0 30 # alias expansion:
meillo@0 31 #
meillo@183 32 #alias_file = "/etc/aliases"
meillo@243 33 #caseless_matching = false
meillo@0 34
meillo@0 35
meillo@354 36 # routes
meillo@354 37 # CHANGING THIS IS REQUIRED!
meillo@0 38
meillo@354 39 # set up a route for the local net:
meillo@354 40 #permanent_routes = "/etc/masqmail/localnet.route"
meillo@354 41
meillo@0 42 # You can use as many routes (one for each provider) as you like:
meillo@354 43 #query_routes.example = "/etc/masqmail/example.route"
meillo@0 44
meillo@0 45 # you can also give a list of routes for a single connection:
meillo@354 46 #query_routes.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"