git-svn-id: http://svn.brehm-online.com/svn/my-stuff/postfix-maps/trunk@102
ec8d2aa5-1599-4edb-8739-
2b3a1bc399aa
dsn: 'DBI:mysql:database=vmail;host=localhost'
user: 'vmail'
password: ~
+#
+# Die eigentliche Zuordnung von Datenbank-Tabellen zu Postfix-Mapfiles
+maps:
+ canonical:
+ file: canonical
+ enabled: 1
+ db_type: hash
+ text_type: map
+ resultset: Canonical
+ columns:
+ - email
+ - destination
+ where:
+ enabled: y
+ order_by: email
+ mydomains:
+ file: mydomains
+ enabled: 1
+ db_type: hash
+ text_type: map
+ resultset: Domain
+ columns:
+ - domain
+ - domain
+ where:
+ type: local
+ enabled: y
+ order_by: domain
],
},
},
+ maps => {
+ 'alias' => {
+ 'file' => 'aliases',
+ 'enabled' => 1,
+ 'db_type' => 'hash',
+ 'text_type' => 'aliases',
+ 'resultset' => 'Alias',
+ 'columns' => [ 'alias', 'destination', ],
+ 'where' => { 'enabled' => 'y' },
+ 'order_by' => 'alias',
+ },
+ },
};
}