view examples/masqmail.conf @ 276:1abc1faeb45d

for -t cmdline args are now added to the rcpt list instead of substracted Please read the diff and the section about -t in man/masqmail.8. Masqmail's behavior had been like the one of exim/smail, now it's similar to postfix. Masqmail does it now the most simple way, regarding the code. Also, addr args are always recipients, -t does not change their meaning. -t makes the addrs from rcpt hdrs, rcpt addrs too. It would have been logical too, to ignore the cmdline args, in the sense of ``headers *instead of* args'' but none of the popular MTAs does it that way and it would have been a bit more complicated in the code. Anyway, this is a corner-case that should better be avoided completely.
author markus schnalke <meillo@marmaro.de>
date Fri, 03 Dec 2010 21:05:34 -0300
parents e758296de02d
children f10a56dc7481
line wrap: on
line source

# masqmail.conf
# Example configuration for masqmail


# The name with which masqmail identifies itself to others:
# CHANGING THIS IS REQUIRED!
host_name="striped.patchwork.net"

# Nets considered local, for immediate delivery attempts:
# ALL hosts not included in either local_host or local_nets are
# considered to be 'outside', meaning that messages to them will be queued
#local_nets="*.patchwork.net;blue;striped"

# accept connections on these interfaces:
# Change this to something like: "localhost:25;foo:25" if other machines
# on your network shall be able to connect to masqmail.
#listen_addresses="localhost:25"

# use syslogd for logs?
#use_syslog=false


# online detection:
#
# for 'file' uncomment next 2 lines
#online_detect = file
#online_file = "/var/run/masqmail/masqmail-route"


# example for local delivery to an mda:
#
#mbox_default=mda
#mda="/usr/bin/procmail -Y -d ${rcpt_local}"


# alias expansion:
#
#alias_file = "/etc/aliases"
#caseless_matching = false


# special routes:

# CHANGING THIS IS REQUIRED!
# You can use as many routes (one for each provider) as you like:
#connect_route.example = "/etc/masqmail/example.route"

# you can also give a list of routes for a single connection:
#connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"

# you can also set routes for the local net:
#local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"