Funktioniert perfekt. Wie wahr... wenn man den Knopf etwas lockert, dann kommt auch wieder etwas Sauerstoff ans Hirn ;-) Danke! Georg
-----Ursprüngliche Nachricht----- Von: postfix-users-bounces@de.postfix.org [mailto:postfix-users-bounces@de.postfix.org] Im Auftrag von Jan P. Kessler Gesendet: Mittwoch, 15. April 2009 10:29 An: Mailing-Liste der deutschsprachigen Postfix Gemeinschaft Betreff: Re: [postfix-users] mailannahme auf IP begrenzen?
Georg Käfer schrieb:
/etc/postfix/main.cf: mynetworks_style = host mynetworks = 192.168.128.0/24, 127.0.0.0/8 smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/recipient_access, permit smtpd_restriction_classes = check_if_mailfirewall_is_sender check_if_mailfirewall_is_sender = check_sender_access hash:/etc/postfix/mailfirewall-ip
/etc/postfix/mailfirewall-ip: xx.xx.xx.xx OK
/etc/postfix/recipient_access: testdomain.at check_if_mailfirewall_is_sender
nicht vergessen habe ich auf: postmap /etc/postfix/mailfirewall-ip postmap /etc/postfix/recipient_access
Hehe, da herrscht wohl ein wenig Verwirrung bzgl sender, client und recipient. Außerdem fehlt da irgendwo natürlich ein reject. Versuch's mal so:
main.cf: -------- smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/recipient_access,
smtpd_restriction_classes = check_if_mailfirewall_is_sender
check_if_mailfirewall_is_sender = check_CLIENT_access hash:/etc/postfix/mailfirewall-ip, REJECT
/etc/postfix/mailfirewall-ip: ----------------------------- xx.xx.xx.xx OK
/etc/postfix/recipient_access: ----------------------------- testdomain.at check_if_mailfirewall_is_sender
_______________________________________________ postfix-users mailing list postfix-users@de.postfix.org http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users