7 msgInvalid Sender Address syntax
2 msghigh availability
2 msgBFD (Brute Force Detection) & Postfix
5 msgrelay domain and forwarding
2 msgdk-milter - emal size issues
5 msgMail sent from local machine shows undisclosed-...
16 msgSorting incoming mails according to rules

Correct use of smtpd_tls_security_level
\ M. Fioretti (16 Jun 2007)
. \ M. Fioretti (16 Jun 2007)
. \ Ralf Hildebrandt (16 Jun 2007)
. . \ M. Fioretti (16 Jun 2007)
. . . \ Ralf Hildebrandt (16 Jun 2007)

1 msggraph queue sizes
6 msglarge deferred queue ('too many connections')
3 msgTo see IP's
5 msgHow Can I Block certain IP's Within Range of my...
8 msgQuestion about adding a special header to emails
3 msgrcpt count mismatch and corrupt queue file ?
2 msgtoo many connections
11 msgWhitelist broken email servers?
4 msgWrite failed in network_biopair_interop with er...
2 msgPattern-matching in HELO
3 msgheader_checks du jour
3 msgGood Resource for additional Spam Blocking
Subject:Correct use of smtpd_tls_security_level
Group:Postfix-users
From:M. Fioretti
Date:16 Jun 2007


 
Hello,

I want to accept inbound email only for the existing addresses of my
virtual domains and this part is OK. Then I want to relay outbound
email only for:

1) messages originated on the server itself (cron jobs, webmail...)

2) the home clients of my users, but only if they are both
SASL-authenticated _and_ use TLS encryption.

I have just read the Postfix configuration page
(http://www.postfix.org/postconf.5.html), but honestly I'm still a bit
confused about point 2 above. Are these SASL/TLS settings the correct
ones for my case:

#####################################################################

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/spool/postfix/private/auth

smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
...other restrictions, still studying them...
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
...other restrictions, still studying them...

smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /location/of/certificate_and_key.pem
smtpd_tls_cert_file = $smtpd_tls_key_file
smtpd_tls_loglevel = 1

##############################################################

The part of postconf.5.html which I'm least sure about is if I'm
giving the correct value to smtpd_tls_security_level, but of course
every comment on errors or missing settings is very welcome.

(I will start to configure the server the next week, that's why I
haven't a postconf -n output yet, I'm trying to study as much as
possible _before_ fiddling with the server)

TIA,
Marco


© 2004-2008 readlist.com