Andreas Moroder schrieb: > Hallo Alex, > > > /etc/postfix/main.cf: > > smtpd_recipient_restrictions = > > check_recipient_access > > hash:/etc/postfix/protected_destinations > > ...the usual stuff... > > > smtpd_restriction_classes = insiders_only > > insiders_only = check_sender_access hash:/etc/postfix/insiders, > > reject > > > /etc/postfix/protected_destinations: > > [EMAIL PROTECTED] insiders_only > > [EMAIL PROTECTED] insiders_only > > > > /etc/postfix/insiders: > > my.domain OK matches my.domain and subdomains > > another.domain OK matches another.domain and subdomains > > > Das sollte deinem Zweck entsprechen. > > > Grüße Alex > > hier sehe ich aber keinen Hinweise auf pgsql_table. Werden die Regeln in > diesem Beispiel nicht alle aus Dateien gelesen ? Meine ursprüngliche > Frage betrifft aber gerade die Möglichkeit die Daten aus postgres zu lesen. > > Grüße > Andreas > > _______________________________________________ > postfix-users mailing list > [email protected] > http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
Hallo Andreas, die logic bleibt dieselbe, ohne die obenstehende ueberprueft zu haben wenn du also eine datenbank hernehmen willst muss in deren tabelle etwas aehnliches drinnstehen mit mysql zb etwa so check_sender_access mysql:/etc/postfix/insiders_mysql.cf /etc/postfix/insiders_mysql.cf user = datenbankuser password = datenbankuserpasswort hosts = ip der datenbank dbname = datenbankname query = deine Abfrage ( SELECT address from usw ) -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria _______________________________________________ postfix-users mailing list [email protected] http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
