[Postfixbuch-users] smtpd_restriction_classes

tom at go2swiss.com tom at go2swiss.com
Fr Dez 3 13:55:47 CET 2004


liebe liste

meine smtpd_restriction_classes funktionieren nicht. was ist falsch?

hier das ende der main.cf:


# INTERNET HOST AND DOMAIN NAMES
#
readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES
alias_database = hash:/etc/postfix/aliases
myhostname = abc0047
myorigin = $mydomain
relay_domains = abcd.ch
local_recipient_maps =
mynetworks = 127.0.0.0/8
sender_canonical_maps = hash:/etc/postfix/canonical-sender
transport_maps = hash:/etc/postfix/transport

smtpd_sender_restrictions =
        check_client_access hash:/etc/postfix/protected_destinations,
        check_sender_access hash:/etc/postfix/sender-access

smtpd_restriction_classes =
        restricted_hosts_a
        restricted_hosts_b

restricted_hosts_a =
        check_recipient_access hash:/etc/postfix/restricted_list_a

restricted_hosts_b =
        check_recipient_access hash:/etc/postfix/restricted_list_b


hier: 
# more protected_destinations
abc0085.abcd.ch           restricted_list_a 
abcd-ab248.abcd.ch      restricted_list_b


hier:
#more restricted_list_a
abc.de                     OK
abc0001.abcd.de      REJECT


hier:
#more restricted_list_b
abc.de                     REJECT
abc0001.abcd.de      REJECT
yxz.ch                     OK

warum erscheint in postconf -n 

restricted_hosts_a =
        check_recipient_access hash:/etc/postfix/restricted_list_a

restricted_hosts_b =
        check_recipient_access hash:/etc/postfix/restricted_list_b

nicht?

postconf -n =
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = ab.abcd.ch
myhostname = abc0047
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES
relay_domains = abcd.ch
sample_directory = /usr/share/doc/postfix-2.0.16/samples
sender_canonical_maps = hash:/etc/postfix/canonical-sender
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_restriction_classes = restricted_hosts_a,   restricted_hosts_b
smtpd_sender_restrictions = check_client_access
hash:/etc/postfix/protected_destinations,       check_sender_access
hash:/etc/postfix/sender-access
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450

vielen dank für die antwort

tom




Mehr Informationen über die Mailingliste Postfixbuch-users