Zitat von neugi <neu...@gmail.com>:

2008/12/15  <lst_ho...@kwsoft.de>:
Zitat von neugi <neu...@gmail.com>:

Hi,

permit_sasl_authenticated is already the first entry ;)

right now i looks like this:

smtpd_recipient_restrictions =
         permit_sasl_authenticated,
         permit_mynetworks,
         reject_rbl_client sbl.spamhaus.org,
         reject_unauth_destination,
         reject_non_fqdn_recipient,
         reject_non_fqdn_sender,
         reject_unauth_pipelining,
         reject_unknown_recipient_domain,
         reject_unknown_sender_domain,
         check_policy_service inet:127.0.0.1:60000


So you have other restrictions set in
smtpd_(clients/helo/sender/recipient)_restrictions set or your clients do
not authenticate per SASL.

Regards

Andreas




complete config:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, $mydomain,
mysql:/etc/postfix/mysql-mydestination.cf
mailbox_size_limit = 0
recipient_delimiter = +

mydomain = domain.com
myhostname = domain.com


mailbox_transport = cyrus
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf

smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
          permit_sasl_authenticated,
          permit_mynetworks,
          reject_rbl_client sbl.spamhaus.org,
          reject_unauth_destination,
          reject_non_fqdn_recipient,
          reject_non_fqdn_sender,
          reject_unauth_pipelining,
          reject_unknown_recipient_domain,
          reject_unknown_sender_domain,
          check_policy_service inet:127.0.0.1:60000

smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes

# TLS
smtpd_use_tls = yes

# smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/mailserver.cert
smtpd_tls_key_file = /etc/postfix/mailserver.key
smtpd_tls_CAfile = /etc/postfix/mailserver.cert
message_size_limit = 40240000
mynetworks = 127.0.0.0/8

best




Logfile entry which shows a authenticated client rejected by RBL ??

Regards

Andreas

Reply via email to