masqmail

annotate examples/masqmail.conf @ 394:c8e3d1a79313

Refactoring in conf.c: read_rval().
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 19:32:40 +0100
parents f10a56dc7481
children 4cbaf6d6793f
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@310 21 #online_query = "/bin/cat /var/run/masqmail/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"