annotate examples/openssl.route @ 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 9814e75de61c
children e230bcd0f1c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
184
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
1 # openssl.route
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
2 # by Philipp Berndt
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
3
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
4
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
5 protocol = "smtp"
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
6
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
7 # encryption is done by communicating through openssl
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
8
223
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
9 # Today usually STARTTLS (RFC-3207) is used:
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
10 # don't forget the instant_helo, otherwise it won't work, because the wrapper eats the 220 greeting
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
11 instant_helo=true
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
12 wrapper="/usr/bin/openssl s_client -quiet -starttls smtp -connect mail.gmx.net:25 2>/dev/null"
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
13
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
14 # The old way is SMTP over SSL; the IETF had marked it obsolete:
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
15 # don't use instant_helo here
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
16 #wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null"
9814e75de61c updated docs to STARTTLS wrappers
meillo@marmaro.de
parents: 184
diff changeset
17
184
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
18
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
19 # which addresses are allowed through this route?
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
20 allowed_return_paths = "*@gmx.de;*@gmx.net"
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
21
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
22 # the authentication method
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
23 #auth_name = "cram-md5"
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
24 auth_name = "login"
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
25
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
26 # user name und password
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
27 auth_login = "UID_OR_EMAIL_ADDRESS"
e96a9fee9423 added an example route config with encryption
meillo@marmaro.de
parents:
diff changeset
28 auth_secret = "YOUR_PASSWORD"