Mercurial > masqmail
annotate examples/openssl.route @ 222:8cddc65765bd
added support for STARTTLS wrappers
added the route config option `instant_helo' which
causes masqmail, as SMTP client, not to wait for the
server's 220 greeting. Instead if says EHLO right at
once. You'll need this for STARTTLS wrappers that
usually eat the greeting line.
author | meillo@marmaro.de |
---|---|
date | Fri, 23 Jul 2010 10:57:53 +0200 |
parents | e96a9fee9423 |
children | 9814e75de61c |
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 |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
9 wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
10 # you may want to tell openssl where the certificates are stored |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
11 #wrapper="/usr/bin/openssl s_client -quiet -CApath /etc/ssl -connect mail.gmx.net:465 2>/dev/null" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
12 |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
13 # which addresses are allowed through this route? |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
14 allowed_return_paths = "*@gmx.de;*@gmx.net" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
15 |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
16 # the authentication method |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
17 #auth_name = "cram-md5" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
18 auth_name = "login" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
19 |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
20 # user name und password |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
21 auth_login = "UID_OR_EMAIL_ADDRESS" |
e96a9fee9423
added an example route config with encryption
meillo@marmaro.de
parents:
diff
changeset
|
22 auth_secret = "YOUR_PASSWORD" |