meillo@37: # Example configuration for masqmail meillo@0: # Copyright (C) 1999 Oliver Kurth meillo@0: # meillo@0: # This program is free software; you can redistribute it and/or modify meillo@0: # it under the terms of the GNU General Public License as published by meillo@0: # the Free Software Foundation; either version 2 of the License, or meillo@0: # (at your option) any later version. meillo@0: meillo@0: # This program is distributed in the hope that it will be useful, meillo@0: # but WITHOUT ANY WARRANTY; without even the implied warranty of meillo@0: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the meillo@0: # GNU General Public License for more details. meillo@0: meillo@0: # You should have received a copy of the GNU General Public License meillo@0: # along with this program; if not, write to the Free Software meillo@0: # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. meillo@0: # meillo@0: meillo@37: # The name with which masqmail identifies itself to others: meillo@0: # CHANGING THIS IS REQUIRED! meillo@0: host_name="striped.patchwork.net" meillo@0: meillo@0: # Hosts considered local: meillo@0: # CHANGING THIS IS REQUIRED! meillo@0: local_hosts="striped;striped.patchwork.net;localhost" meillo@0: meillo@0: # Nets considered local, for immediate delivery attempts: meillo@0: # ALL hosts not included in either local_host or local_nets are meillo@0: # considered to be 'outside', meaning that messages to them will be queued meillo@0: # CHANGING THIS IS REQUIRED! meillo@0: #local_nets="*.patchwork.net;blue;striped" meillo@0: meillo@0: # accept connections on these interfaces: meillo@0: # CHANGING THIS IS REQUIRED! meillo@0: listen_addresses="localhost:25" meillo@0: meillo@0: # send messages to this port: meillo@0: # probably this will also be configurable on host basis in future versions. meillo@0: remote_port=25 meillo@0: meillo@37: # where masqmail stores its spool files and other stuff: meillo@0: spool_dir="/var/spool/masqmail" meillo@0: meillo@0: # where local mail will be written to: meillo@0: mail_dir="/var/mail" meillo@0: meillo@0: # use syslogd for logs? meillo@0: use_syslog=false meillo@0: meillo@0: # directory for log files: meillo@0: log_dir="/var/log/masqmail" meillo@0: meillo@0: # if set, accepted mail will not be delivered immediately but on the next queue run: meillo@0: do_queue=false meillo@0: meillo@0: # online detection: meillo@0: # meillo@0: # for 'file' uncomment next 2 lines meillo@0: #online_detect = file meillo@37: #online_file = "/var/run/masqmail/masqmail-route" meillo@0: meillo@0: # meillo@0: # example for local delivery to an mda: meillo@0: # meillo@0: #mbox_default=mda meillo@0: #mda="/usr/bin/procmail -Y -d ${rcpt_local}" meillo@0: # default is false for these: meillo@0: #mda_fromline=true meillo@0: #mda_fromhack=true meillo@0: meillo@0: # meillo@0: # alias expansion: meillo@0: # meillo@0: alias_file = "/etc/aliases" meillo@0: # default is false: meillo@0: #alias_local_caseless = true meillo@0: meillo@0: # meillo@0: # configuration concerning pipes (after an alias expansion) meillo@0: # meillo@0: # default is false for these: meillo@0: # pipe_fromline=true meillo@0: # pipe_fromhack=true meillo@0: meillo@0: # special routes: meillo@0: meillo@0: # CHANGING THIS IS REQUIRED! meillo@0: # You can use as many routes (one for each provider) as you like: meillo@0: connect_route.GWDG = "/etc/masqmail/example.route" meillo@0: meillo@0: # you can also give a list of routes for a single connection: meillo@0: #connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" meillo@0: meillo@0: # you can also set routes for the local net: meillo@0: #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" meillo@0: meillo@0: # if you use masqmail to get mail, set some 'get' files: meillo@0: #get.anyname = /etc/masqmail/example.get