[Postfixbuch-users] Domain sperren
Uwe Driessen
driessen at fblan.de
Do Feb 19 23:31:42 CET 2009
On Behalf Of Martin Meier
> Uwe Driessen schrieb:
> > On Behalf Of Martin Meier
> > ------------------
> > In der Main.cf
> > smtpd_restriction_classes = Will_ich_nicht
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
read about this in
http://www.postfix.org/postconf.5.html#smtpd_restriction_classes
und dann noch mal ganz langsam die mail lesen oder einfach testen
ich weiß ich hab das auch nicht beim ersten Anlauf verstanden ....
smtpd_restriction_classes (default: empty)
User-defined aliases for groups of access restrictions. The aliases can be specified in
smtpd_recipient_restrictions etc., and on the right-hand side of a Postfix access(5)
table.
One major application is for implementing per-recipient UCE control. See the
RESTRICTION_CLASS_README document for other examples.
http://www.postfix.org/RESTRICTION_CLASS_README.html
The real reason for the existence of Postfix restriction classes is more mundane: you
can't specify a lookup table on the right-hand side of a Postfix access table. This is
because Postfix needs to open lookup tables ahead of time, but the reader probably does
not care about these low-level details.
Example:
/etc/postfix/main.cf:
smtpd_restriction_classes = restrictive, permissive
# With Postfix < 2.3 specify reject_unknown_client.
restrictive = reject_unknown_sender_domain reject_unknown_client_hostname ...
permissive = permit
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
check_recipient_access hash:/etc/postfix/recipient_access
/etc/postfix/recipient_access:
joe at my.domain permissive
jane at my.domain restrictive
With this in place, you can use "restrictive" or "permissive" on the right-hand side of
your per-client, helo, sender, or recipient SMTPD access tables.
The remainder of this document gives examples of how Postfix access restriction classes
can be used to: .............
Mit freundlichen Grüßen
Drießen
--
Software & Computer
Uwe Drießen
Lembergstraße 33
67824 Feilbingert
Tel.: +49 06708 / 660045 Fax: +49 06708 / 661397
Mehr Informationen über die Mailingliste Postfixbuch-users