masqmail
annotate examples/openssl.route @ 276:1abc1faeb45d
for -t cmdline args are now added to the rcpt list instead of substracted
Please read the diff and the section about -t in man/masqmail.8.
Masqmail's behavior had been like the one of exim/smail, now it's
similar to postfix.
Masqmail does it now the most simple way, regarding the code.
Also, addr args are always recipients, -t does not change their meaning.
-t makes the addrs from rcpt hdrs, rcpt addrs too.
It would have been logical too, to ignore the cmdline args,
in the sense of ``headers *instead of* args'' but none of the
popular MTAs does it that way and it would have been a bit more
complicated in the code.
Anyway, this is a corner-case that should better be avoided completely.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 03 Dec 2010 21:05:34 -0300 |
parents | e96a9fee9423 |
children | e230bcd0f1c6 |
rev | line source |
---|---|
meillo@184 | 1 # openssl.route |
meillo@184 | 2 # by Philipp Berndt |
meillo@184 | 3 |
meillo@184 | 4 |
meillo@184 | 5 protocol = "smtp" |
meillo@184 | 6 |
meillo@184 | 7 # encryption is done by communicating through openssl |
meillo@184 | 8 |
meillo@223 | 9 # Today usually STARTTLS (RFC-3207) is used: |
meillo@223 | 10 # don't forget the instant_helo, otherwise it won't work, because the wrapper eats the 220 greeting |
meillo@223 | 11 instant_helo=true |
meillo@223 | 12 wrapper="/usr/bin/openssl s_client -quiet -starttls smtp -connect mail.gmx.net:25 2>/dev/null" |
meillo@223 | 13 |
meillo@223 | 14 # The old way is SMTP over SSL; the IETF had marked it obsolete: |
meillo@223 | 15 # don't use instant_helo here |
meillo@223 | 16 #wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null" |
meillo@223 | 17 |
meillo@184 | 18 |
meillo@184 | 19 # which addresses are allowed through this route? |
meillo@184 | 20 allowed_return_paths = "*@gmx.de;*@gmx.net" |
meillo@184 | 21 |
meillo@184 | 22 # the authentication method |
meillo@184 | 23 #auth_name = "cram-md5" |
meillo@184 | 24 auth_name = "login" |
meillo@184 | 25 |
meillo@184 | 26 # user name und password |
meillo@184 | 27 auth_login = "UID_OR_EMAIL_ADDRESS" |
meillo@184 | 28 auth_secret = "YOUR_PASSWORD" |