masqmail

annotate examples/masqmail.conf @ 204:5745edd5b769

removed the --disable-smtp-server configure option masqmail will now always have the possibility to listen on a port compiled in if you don't want it to listen on a port add this to your masqmail.conf: listen_addresses = "" also, if you don't start it as daemon it will not listen neither
author meillo@marmaro.de
date Fri, 16 Jul 2010 15:38:53 +0200
parents 91f8ee6514f5
children e758296de02d
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@183 39 #alias_local_caseless = 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"