masqmail

annotate examples/masqmail.conf @ 178:91f8ee6514f5

removed `remote_port' config option it was already deprecated for some time see NEWS at release 0.2.12 for details
author meillo@marmaro.de
date Wed, 14 Jul 2010 16:48:45 +0200
parents 5b621742b2e7
children 6ff77c63e714
rev   line source
meillo@37 1 # Example configuration for masqmail
meillo@0 2 # Copyright (C) 1999 Oliver Kurth
meillo@0 3 #
meillo@0 4 # This program is free software; you can redistribute it and/or modify
meillo@0 5 # it under the terms of the GNU General Public License as published by
meillo@0 6 # the Free Software Foundation; either version 2 of the License, or
meillo@0 7 # (at your option) any later version.
meillo@0 8
meillo@0 9 # This program is distributed in the hope that it will be useful,
meillo@0 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
meillo@0 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
meillo@0 12 # GNU General Public License for more details.
meillo@0 13
meillo@0 14 # You should have received a copy of the GNU General Public License
meillo@0 15 # along with this program; if not, write to the Free Software
meillo@0 16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
meillo@0 17 #
meillo@0 18
meillo@37 19 # The name with which masqmail identifies itself to others:
meillo@0 20 # CHANGING THIS IS REQUIRED!
meillo@0 21 host_name="striped.patchwork.net"
meillo@0 22
meillo@0 23 # Hosts considered local:
meillo@0 24 # CHANGING THIS IS REQUIRED!
meillo@0 25 local_hosts="striped;striped.patchwork.net;localhost"
meillo@0 26
meillo@0 27 # Nets considered local, for immediate delivery attempts:
meillo@0 28 # ALL hosts not included in either local_host or local_nets are
meillo@0 29 # considered to be 'outside', meaning that messages to them will be queued
meillo@0 30 # CHANGING THIS IS REQUIRED!
meillo@0 31 #local_nets="*.patchwork.net;blue;striped"
meillo@0 32
meillo@0 33 # accept connections on these interfaces:
meillo@0 34 # CHANGING THIS IS REQUIRED!
meillo@0 35 listen_addresses="localhost:25"
meillo@0 36
meillo@37 37 # where masqmail stores its spool files and other stuff:
meillo@0 38 spool_dir="/var/spool/masqmail"
meillo@0 39
meillo@0 40 # where local mail will be written to:
meillo@0 41 mail_dir="/var/mail"
meillo@0 42
meillo@0 43 # use syslogd for logs?
meillo@0 44 use_syslog=false
meillo@0 45
meillo@0 46 # directory for log files:
meillo@0 47 log_dir="/var/log/masqmail"
meillo@0 48
meillo@0 49 # if set, accepted mail will not be delivered immediately but on the next queue run:
meillo@0 50 do_queue=false
meillo@0 51
meillo@0 52 # online detection:
meillo@0 53 #
meillo@0 54 # for 'file' uncomment next 2 lines
meillo@0 55 #online_detect = file
meillo@37 56 #online_file = "/var/run/masqmail/masqmail-route"
meillo@0 57
meillo@0 58 #
meillo@0 59 # example for local delivery to an mda:
meillo@0 60 #
meillo@0 61 #mbox_default=mda
meillo@0 62 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
meillo@0 63 # default is false for these:
meillo@0 64 #mda_fromline=true
meillo@0 65 #mda_fromhack=true
meillo@0 66
meillo@0 67 #
meillo@0 68 # alias expansion:
meillo@0 69 #
meillo@0 70 alias_file = "/etc/aliases"
meillo@0 71 # default is false:
meillo@0 72 #alias_local_caseless = true
meillo@0 73
meillo@0 74 #
meillo@0 75 # configuration concerning pipes (after an alias expansion)
meillo@0 76 #
meillo@0 77 # default is false for these:
meillo@0 78 # pipe_fromline=true
meillo@0 79 # pipe_fromhack=true
meillo@0 80
meillo@0 81 # special routes:
meillo@0 82
meillo@0 83 # CHANGING THIS IS REQUIRED!
meillo@0 84 # You can use as many routes (one for each provider) as you like:
meillo@0 85 connect_route.GWDG = "/etc/masqmail/example.route"
meillo@0 86
meillo@0 87 # you can also give a list of routes for a single connection:
meillo@0 88 #connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
meillo@0 89
meillo@0 90 # you can also set routes for the local net:
meillo@0 91 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"
meillo@0 92
meillo@0 93 # if you use masqmail to get mail, set some 'get' files:
meillo@0 94 #get.anyname = /etc/masqmail/example.get