masqmail

annotate examples/masqmail.conf @ 276:1abc1faeb45d

for -t cmdline args are now added to the rcpt list instead of substracted Please read the diff and the section about -t in man/masqmail.8. Masqmail's behavior had been like the one of exim/smail, now it's similar to postfix. Masqmail does it now the most simple way, regarding the code. Also, addr args are always recipients, -t does not change their meaning. -t makes the addrs from rcpt hdrs, rcpt addrs too. It would have been logical too, to ignore the cmdline args, in the sense of ``headers *instead of* args'' but none of the popular MTAs does it that way and it would have been a bit more complicated in the code. Anyway, this is a corner-case that should better be avoided completely.
author markus schnalke <meillo@marmaro.de>
date Fri, 03 Dec 2010 21:05:34 -0300
parents 6ff77c63e714
children f10a56dc7481
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 # Nets considered local, for immediate delivery attempts:
meillo@0 10 # ALL hosts not included in either local_host or local_nets are
meillo@0 11 # considered to be 'outside', meaning that messages to them will be queued
meillo@0 12 #local_nets="*.patchwork.net;blue;striped"
meillo@0 13
meillo@0 14 # accept connections on these interfaces:
meillo@183 15 # Change this to something like: "localhost:25;foo:25" if other machines
meillo@183 16 # on your network shall be able to connect to masqmail.
meillo@183 17 #listen_addresses="localhost:25"
meillo@0 18
meillo@0 19 # use syslogd for logs?
meillo@183 20 #use_syslog=false
meillo@0 21
meillo@0 22
meillo@0 23 # online detection:
meillo@0 24 #
meillo@0 25 # for 'file' uncomment next 2 lines
meillo@0 26 #online_detect = file
meillo@37 27 #online_file = "/var/run/masqmail/masqmail-route"
meillo@0 28
meillo@183 29
meillo@0 30 # example for local delivery to an mda:
meillo@0 31 #
meillo@0 32 #mbox_default=mda
meillo@0 33 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
meillo@0 34
meillo@183 35
meillo@0 36 # alias expansion:
meillo@0 37 #
meillo@183 38 #alias_file = "/etc/aliases"
meillo@243 39 #caseless_matching = false
meillo@0 40
meillo@0 41
meillo@0 42 # special routes:
meillo@0 43
meillo@0 44 # CHANGING THIS IS REQUIRED!
meillo@0 45 # You can use as many routes (one for each provider) as you like:
meillo@183 46 #connect_route.example = "/etc/masqmail/example.route"
meillo@0 47
meillo@0 48 # you can also give a list of routes for a single connection:
meillo@183 49 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
meillo@0 50
meillo@0 51 # you can also set routes for the local net:
meillo@0 52 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"