This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you run a postfix MTA and find yourself unable to send mails from external eMail Clients like thunderbird, kmail etc. | |
And you see something like this in the logs: | |
postfix/smtpd[42360]: Anonymous TLS connection established ... | |
postfix/smtpd[42360]: NOQUEUE: reject: RCPT from xxx: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[xxx]> | |
Then you should consider the newly introduced smtpd_relay_restrictions option as described here: | |
http://postfix.1071664.n5.nabble.com/smtpd-relay-restrictions-ready-for-general-use-td51323.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var util = require('utile'), | |
propUtil = require('./propUtil'); | |
// Find out whether the client connection is encrypted | |
var isClientOnTls = function(req) { | |
var isEncrypted = true; | |
if(req.connection.encrypted === undefined) { // Derive from nodejs internals | |
isEncrypted = false; | |
} | |