Mercurial > masqmail
view examples/masqmail.conf @ 304:d5ce2ba71e7b
manual formating of Received: hdrs; changed hdr for local receival
Now the Received: headers are much friendlier to read.
About folding: We must fold any line at 998 chars before transfer.
We should fold the lines we produce at 78 chars. That is what RFC
2821 requests. We should think about it, somewhen.
The header for locally (i.e. non-SMTP) received mail is changed
to the format postfix uses. This matches RFC 2821 better. The
`from' clause should contain a domain or IP, not a user name. Also,
the `with' clause should contain a registered standard protocol
name, which ``local'' is not.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 09 Dec 2010 18:28:11 -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"