masqmail

view examples/masqmail.conf @ 310:f10a56dc7481

reworked online_detect to the simpler online_query Only pipe is supported now. Use online_query="/bin/cat /path/to/file" instead of online_detect=file online_file=/path/to/file and online_query="/path/to/some/script foo" instead of online_detect=pipe online_pipe="/path/to/some/script foo" See man page masqmail.conf(5) and admin/config-transition.
author meillo@marmaro.de
date Sun, 24 Apr 2011 19:14:38 +0200
parents e758296de02d
children 08932c629849
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 # Nets considered local, for immediate delivery attempts:
10 # ALL hosts not included in either local_host or local_nets are
11 # considered to be 'outside', meaning that messages to them will be queued
12 #local_nets="*.patchwork.net;blue;striped"
14 # accept connections on these interfaces:
15 # Change this to something like: "localhost:25;foo:25" if other machines
16 # on your network shall be able to connect to masqmail.
17 #listen_addresses="localhost:25"
19 # use syslogd for logs?
20 #use_syslog=false
23 # online detection:
24 #
25 # for 'file' uncomment next 2 lines
26 #online_query = "/bin/cat /var/run/masqmail/masqmail-route"
29 # example for local delivery to an mda:
30 #
31 #mbox_default=mda
32 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
35 # alias expansion:
36 #
37 #alias_file = "/etc/aliases"
38 #caseless_matching = false
41 # special routes:
43 # CHANGING THIS IS REQUIRED!
44 # You can use as many routes (one for each provider) as you like:
45 #connect_route.example = "/etc/masqmail/example.route"
47 # you can also give a list of routes for a single connection:
48 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
50 # you can also set routes for the local net:
51 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"