Hallo Liste,  

ich möchte meine Postfix Einstellung in eine MySQL DB übertragen. Und nun
stolpere ich über die Einstellungen für die relay_domains. ich habe
folgende Einstellungen in meiner main.cf:  

relay_domains = $mydestination mysql:/etc/postfix/relay_domains.cf  

parent_domain_matches_subdomains =
fast_flush_domains,mynetworks,relay_domains  

/etc/postfix/relay_domains.cf:  

user = postfix
password = xxx
dbname = postfix
query = SELECT domain FROM domain WHERE domain='%s' and active = 1  

Meine vorherigen Einstellungen sahen so aus:  

relay_domains = $mydestination /etc/postfix/domains  

mit /etc/postfix/domains:  

!subdomain1.example.com  

example.com  

Ich möchte also für alle subdomains von example.com relayen aber nicht fur
subdomain1.example.com. Wie bilde ich das jetzt in meiner Datenbank ab?  

Ich stehe gerade auf dem Schlauch. Schon mal danke für eure Hilfe.  

Gruß  

Stefan
_______________________________________________
postfix-users mailing list
[email protected]
http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users

Antwort per Email an