annotate examples/masqmail.conf @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents e758296de02d
children f10a56dc7481
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
1 # masqmail.conf
37
4fee89792559 updated config example and man page to new default online file
meillo@marmaro.de
parents: 0
diff changeset
2 # Example configuration for masqmail
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
3
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
4
37
4fee89792559 updated config example and man page to new default online file
meillo@marmaro.de
parents: 0
diff changeset
5 # The name with which masqmail identifies itself to others:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
6 # CHANGING THIS IS REQUIRED!
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 host_name="striped.patchwork.net"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
8
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
9 # Nets considered local, for immediate delivery attempts:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
10 # ALL hosts not included in either local_host or local_nets are
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11 # considered to be 'outside', meaning that messages to them will be queued
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
12 #local_nets="*.patchwork.net;blue;striped"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
13
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
14 # accept connections on these interfaces:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
15 # Change this to something like: "localhost:25;foo:25" if other machines
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
16 # on your network shall be able to connect to masqmail.
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
17 #listen_addresses="localhost:25"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
18
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
19 # use syslogd for logs?
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
20 #use_syslog=false
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
21
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
22
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
23 # online detection:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
24 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
25 # for 'file' uncomment next 2 lines
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
26 #online_detect = file
37
4fee89792559 updated config example and man page to new default online file
meillo@marmaro.de
parents: 0
diff changeset
27 #online_file = "/var/run/masqmail/masqmail-route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
28
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
29
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
30 # example for local delivery to an mda:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
31 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
32 #mbox_default=mda
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
33 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
34
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
35
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
36 # alias expansion:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
37 #
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
38 #alias_file = "/etc/aliases"
243
e758296de02d renamed `alias_local_caseless' to `caseless_matching'
markus schnalke <meillo@marmaro.de>
parents: 183
diff changeset
39 #caseless_matching = false
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
40
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
41
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
42 # special routes:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
43
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
44 # CHANGING THIS IS REQUIRED!
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
45 # You can use as many routes (one for each provider) as you like:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
46 #connect_route.example = "/etc/masqmail/example.route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
47
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
48 # you can also give a list of routes for a single connection:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
49 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
50
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
51 # you can also set routes for the local net:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
52 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"