masqmail

view examples/openssl.route @ 323:29de6a1c4538

Fixed an important bug with folded headers! g_strconcat() returns a *copy* of the string, but hdr->value still pointed to the old header (which probably was a memory leak, too). If the folded part had been quite small it was likely that the new string was at the same position as the old one, thus making everything go well. But if pretty long headers were folded several times it was likely that the new string was allocated somewhere else in memory, thus breaking things. In result mails to lots of recipients (folded header) were frequently only sent to the ones in the first line. Sorry for the inconvenience.
author meillo@marmaro.de
date Fri, 03 Jun 2011 09:47:27 +0200
parents e230bcd0f1c6
children 48ff59cf0b34
line source
1 # openssl.route
2 # by Philipp Berndt
5 # encryption is done by communicating through openssl
7 # Today usually STARTTLS (RFC-3207) is used:
8 # don't forget the instant_helo, otherwise it won't work, because the wrapper eats the 220 greeting
9 instant_helo=true
10 wrapper="/usr/bin/openssl s_client -quiet -starttls smtp -connect mail.gmx.net:25 2>/dev/null"
12 # The old way is SMTP over SSL; the IETF had marked it obsolete:
13 # don't use instant_helo here
14 #wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null"
17 # which sender addresses are allowed for this route?
18 allowed_senders = "*@gmx.de;*@gmx.net"
20 # the authentication method
21 #auth_name = "cram-md5"
22 auth_name = "login"
24 # user name und password
25 auth_login = "UID_OR_EMAIL_ADDRESS"
26 auth_secret = "YOUR_PASSWORD"