masqmail

annotate examples/masqmail.conf @ 163:3914d7cabfbc

disabled POP3 support by default
author meillo@marmaro.de
date Thu, 08 Jul 2010 14:04:39 +0200
parents 08114f7dcc23
children 5b621742b2e7
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@0 37 # send messages to this port:
meillo@0 38 # probably this will also be configurable on host basis in future versions.
meillo@0 39 remote_port=25
meillo@0 40
meillo@37 41 # where masqmail stores its spool files and other stuff:
meillo@0 42 spool_dir="/var/spool/masqmail"
meillo@0 43
meillo@0 44 # where local mail will be written to:
meillo@0 45 mail_dir="/var/mail"
meillo@0 46
meillo@0 47 # use syslogd for logs?
meillo@0 48 use_syslog=false
meillo@0 49
meillo@0 50 # directory for log files:
meillo@0 51 log_dir="/var/log/masqmail"
meillo@0 52
meillo@0 53 # if set, accepted mail will not be delivered immediately but on the next queue run:
meillo@0 54 do_queue=false
meillo@0 55
meillo@0 56 # online detection:
meillo@0 57 #
meillo@0 58 # for 'mserver' uncomment next 2 lines and optionally change mserver_iface:
meillo@0 59 #online_detect = mserver
meillo@0 60 #mserver_iface = "localhost:222"
meillo@0 61
meillo@0 62 # for 'file' uncomment next 2 lines
meillo@0 63 #online_detect = file
meillo@37 64 #online_file = "/var/run/masqmail/masqmail-route"
meillo@0 65
meillo@0 66 #
meillo@0 67 # example for local delivery to an mda:
meillo@0 68 #
meillo@0 69 #mbox_default=mda
meillo@0 70 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
meillo@0 71 # default is false for these:
meillo@0 72 #mda_fromline=true
meillo@0 73 #mda_fromhack=true
meillo@0 74
meillo@0 75 #
meillo@0 76 # alias expansion:
meillo@0 77 #
meillo@0 78 alias_file = "/etc/aliases"
meillo@0 79 # default is false:
meillo@0 80 #alias_local_caseless = true
meillo@0 81
meillo@0 82 #
meillo@0 83 # configuration concerning pipes (after an alias expansion)
meillo@0 84 #
meillo@0 85 # default is false for these:
meillo@0 86 # pipe_fromline=true
meillo@0 87 # pipe_fromhack=true
meillo@0 88
meillo@0 89 # special routes:
meillo@0 90
meillo@0 91 # CHANGING THIS IS REQUIRED!
meillo@0 92 # You can use as many routes (one for each provider) as you like:
meillo@0 93 connect_route.GWDG = "/etc/masqmail/example.route"
meillo@0 94
meillo@0 95 # you can also give a list of routes for a single connection:
meillo@0 96 #connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
meillo@0 97
meillo@0 98 # you can also set routes for the local net:
meillo@0 99 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"
meillo@0 100
meillo@0 101 # if you use masqmail to get mail, set some 'get' files:
meillo@0 102 #get.anyname = /etc/masqmail/example.get