masqmail

changeset 183:6ff77c63e714

improved and simplified the example config removed the copyright notice, because I think this file is trivial enough to not need it
author meillo@marmaro.de
date Wed, 14 Jul 2010 22:21:08 +0200
parents 0976977ccc52
children e96a9fee9423
files examples/masqmail.conf
diffstat 1 files changed, 11 insertions(+), 53 deletions(-) [+]
line diff
     1.1 --- a/examples/masqmail.conf	Wed Jul 14 21:59:23 2010 +0200
     1.2 +++ b/examples/masqmail.conf	Wed Jul 14 22:21:08 2010 +0200
     1.3 @@ -1,53 +1,24 @@
     1.4 +# masqmail.conf
     1.5  # Example configuration for masqmail
     1.6 -# Copyright (C) 1999 Oliver Kurth
     1.7 -#
     1.8 -# This program is free software; you can redistribute it and/or modify
     1.9 -# it under the terms of the GNU General Public License as published by
    1.10 -# the Free Software Foundation; either version 2 of the License, or
    1.11 -# (at your option) any later version.
    1.12  
    1.13 -# This program is distributed in the hope that it will be useful,
    1.14 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.16 -# GNU General Public License for more details.
    1.17 -
    1.18 -# You should have received a copy of the GNU General Public License
    1.19 -# along with this program; if not, write to the Free Software
    1.20 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.21 -#
    1.22  
    1.23  # The name with which masqmail identifies itself to others:
    1.24  # CHANGING THIS IS REQUIRED!
    1.25  host_name="striped.patchwork.net"
    1.26  
    1.27 -# Hosts considered local:
    1.28 -# CHANGING THIS IS REQUIRED!
    1.29 -local_hosts="striped;striped.patchwork.net;localhost"
    1.30 -
    1.31  # Nets considered local, for immediate delivery attempts:
    1.32  # ALL hosts not included in either local_host or local_nets are
    1.33  # considered to be 'outside', meaning that messages to them will be queued
    1.34 -# CHANGING THIS IS REQUIRED!
    1.35  #local_nets="*.patchwork.net;blue;striped"
    1.36  
    1.37  # accept connections on these interfaces:
    1.38 -# CHANGING THIS IS REQUIRED!
    1.39 -listen_addresses="localhost:25"
    1.40 -
    1.41 -# where masqmail stores its spool files and other stuff:
    1.42 -spool_dir="/var/spool/masqmail"
    1.43 -
    1.44 -# where local mail will be written to:
    1.45 -mail_dir="/var/mail"
    1.46 +# Change this to something like: "localhost:25;foo:25" if other machines
    1.47 +# on your network shall be able to connect to masqmail.
    1.48 +#listen_addresses="localhost:25"
    1.49  
    1.50  # use syslogd for logs?
    1.51 -use_syslog=false
    1.52 +#use_syslog=false
    1.53  
    1.54 -# directory for log files:
    1.55 -log_dir="/var/log/masqmail"
    1.56 -
    1.57 -# if set, accepted mail will not be delivered immediately but on the next queue run:
    1.58 -do_queue=false
    1.59  
    1.60  # online detection:
    1.61  #
    1.62 @@ -55,40 +26,27 @@
    1.63  #online_detect = file
    1.64  #online_file = "/var/run/masqmail/masqmail-route"
    1.65  
    1.66 -#
    1.67 +
    1.68  # example for local delivery to an mda:
    1.69  #
    1.70  #mbox_default=mda
    1.71  #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
    1.72 -# default is false for these:
    1.73 -#mda_fromline=true
    1.74 -#mda_fromhack=true
    1.75  
    1.76 -#
    1.77 +
    1.78  # alias expansion:
    1.79  #
    1.80 -alias_file = "/etc/aliases"
    1.81 -# default is false:
    1.82 -#alias_local_caseless = true
    1.83 +#alias_file = "/etc/aliases"
    1.84 +#alias_local_caseless = false
    1.85  
    1.86 -#
    1.87 -# configuration concerning pipes (after an alias expansion)
    1.88 -#
    1.89 -# default is false for these:
    1.90 -# pipe_fromline=true
    1.91 -# pipe_fromhack=true
    1.92  
    1.93  # special routes:
    1.94  
    1.95  # CHANGING THIS IS REQUIRED!
    1.96  # You can use as many routes (one for each provider) as you like:
    1.97 -connect_route.GWDG = "/etc/masqmail/example.route"
    1.98 +#connect_route.example = "/etc/masqmail/example.route"
    1.99  
   1.100  # you can also give a list of routes for a single connection:
   1.101 -#connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
   1.102 +#connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
   1.103  
   1.104  # you can also set routes for the local net:
   1.105  #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"
   1.106 -
   1.107 -# if you use masqmail to get mail, set some 'get' files:
   1.108 -#get.anyname = /etc/masqmail/example.get