masqmail
annotate examples/openssl.route @ 421:f37384470855
Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup.
Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk
we do well to have the lock files there.) Added the new configure option
--with-lockdir to change that location. Nontheless, if we run_as_user,
then lock files are always stored in the spool dir directly.
Instead of installing the lockdir and piddir at installation time, we
create them on startup time now if they are missing. This is necessary
if lockdir or piddir are a tmpfs.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 30 May 2012 09:38:38 +0200 |
parents | 55b7bde95d37 |
children |
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@353 | 8 # don't forget the instant_helo, otherwise it won't work, |
meillo@353 | 9 # because the wrapper eats the 220 greeting |
meillo@223 | 10 instant_helo=true |
meillo@223 | 11 wrapper="/usr/bin/openssl s_client -quiet -starttls smtp -connect mail.gmx.net:25 2>/dev/null" |
meillo@223 | 12 |
meillo@223 | 13 # The old way is SMTP over SSL; the IETF had marked it obsolete: |
meillo@223 | 14 # don't use instant_helo here |
meillo@223 | 15 #wrapper="/usr/bin/openssl s_client -quiet -connect mail.gmx.net:465 2>/dev/null" |
meillo@223 | 16 |
meillo@184 | 17 |
meillo@317 | 18 # which sender addresses are allowed for this route? |
meillo@317 | 19 allowed_senders = "*@gmx.de;*@gmx.net" |
meillo@184 | 20 |
meillo@184 | 21 # the authentication method |
meillo@184 | 22 #auth_name = "cram-md5" |
meillo@184 | 23 auth_name = "login" |
meillo@184 | 24 |
meillo@184 | 25 # user name und password |
meillo@184 | 26 auth_login = "UID_OR_EMAIL_ADDRESS" |
meillo@184 | 27 auth_secret = "YOUR_PASSWORD" |