masqmail
annotate examples/masqmail.conf @ 340:60bb2dbe2866
In the tests: replaced logname(1) with $LOGNAME
Because logname(1) may not work if it has no controlling terminal.
See: http://aplawrence.com/cgi-bin/printer.pl?arg=/Forum/TonyLawrence8.html
Be it that reason or not, it didn't work on Crux, but $LOGNAME is set.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 31 Aug 2011 09:14:38 +0200 |
parents | e758296de02d |
children | 08932c629849 |
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@310 | 26 #online_query = "/bin/cat /var/run/masqmail/masqmail-route" |
meillo@0 | 27 |
meillo@183 | 28 |
meillo@0 | 29 # example for local delivery to an mda: |
meillo@0 | 30 # |
meillo@0 | 31 #mbox_default=mda |
meillo@0 | 32 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" |
meillo@0 | 33 |
meillo@183 | 34 |
meillo@0 | 35 # alias expansion: |
meillo@0 | 36 # |
meillo@183 | 37 #alias_file = "/etc/aliases" |
meillo@243 | 38 #caseless_matching = false |
meillo@0 | 39 |
meillo@0 | 40 |
meillo@0 | 41 # special routes: |
meillo@0 | 42 |
meillo@0 | 43 # CHANGING THIS IS REQUIRED! |
meillo@0 | 44 # You can use as many routes (one for each provider) as you like: |
meillo@183 | 45 #connect_route.example = "/etc/masqmail/example.route" |
meillo@0 | 46 |
meillo@0 | 47 # you can also give a list of routes for a single connection: |
meillo@183 | 48 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" |
meillo@0 | 49 |
meillo@0 | 50 # you can also set routes for the local net: |
meillo@0 | 51 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" |