masqmail

annotate examples/openssl.route @ 330:f899ca0835a8

Fixed local-part only address patterns in route conditions The man page claimed behavior that wasn't implemented up to now. Thanks to Juergen Daubert for the bug report.
author markus schnalke <meillo@marmaro.de>
date Wed, 13 Jul 2011 10:30:52 +0200
parents e230bcd0f1c6
children 48ff59cf0b34
rev   line source
meillo@184 1 # openssl.route
meillo@184 2 # by Philipp Berndt
meillo@184 3
meillo@184 4
meillo@184 5 # encryption is done by communicating through openssl
meillo@184 6
meillo@223 7 # Today usually STARTTLS (RFC-3207) is used:
meillo@223 8 # don't forget the instant_helo, otherwise it won't work, because the wrapper eats the 220 greeting
meillo@223 9 instant_helo=true
meillo@223 10 wrapper="/usr/bin/openssl s_client -quiet -starttls smtp -connect mail.gmx.net:25 2>/dev/null"
meillo@223 11
meillo@223 12 # The old way is SMTP over SSL; the IETF had marked it obsolete:
meillo@223 13 # don't use instant_helo here
meillo@223 14 #wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null"
meillo@223 15
meillo@184 16
meillo@317 17 # which sender addresses are allowed for this route?
meillo@317 18 allowed_senders = "*@gmx.de;*@gmx.net"
meillo@184 19
meillo@184 20 # the authentication method
meillo@184 21 #auth_name = "cram-md5"
meillo@184 22 auth_name = "login"
meillo@184 23
meillo@184 24 # user name und password
meillo@184 25 auth_login = "UID_OR_EMAIL_ADDRESS"
meillo@184 26 auth_secret = "YOUR_PASSWORD"