source: trunk/server/fedora/config/etc/postfix/virtual-alias-maps-ldap-reserved.cf @ 2841

Last change on this file since 2841 was 2460, checked in by andersk, 9 years ago
Stop eating mail to reserved addresses at non-scripts domains Instead of eating {abuse,hostmaster,noc,postmaster,security}@every-domain, use LDAP magic to capture these addresses only at scripts vhosts. The following CoS templates have been added to LDAP: dn: cn=scriptsReservedMailTemplate,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu cn: scriptsReservedMailTemplate objectClass: top objectClass: cosTemplate objectClass: extensibleObject scriptsreservedmail: security scriptsreservedmail: postmaster scriptsreservedmail: noc scriptsreservedmail: hostmaster scriptsreservedmail: abuse dn: cn=scriptsReservedMailCoS,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu cn: scriptsReservedMailCoS objectClass: top objectClass: ldapSubEntry objectClass: cosSuperDefinition objectClass: cosPointerDefinition costemplatedn: cn=scriptsReservedMailTemplate,ou=VirtualHosts,dc=scripts,dc=mit,dc=edu cosAttribute: scriptsReservedMail operational
File size: 343 bytes
Line 
1server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/
2search_base = ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
3query_filter = (&(objectClass=scriptsVhost)(|(scriptsVhostName=%d)(scriptsVhostAlias=%d))(!(scriptsVhostName=scripts.mit.edu))(scriptsReservedMail=%u))
4result_attribute = scriptsVhostName
5result_format = %U
6bind = no
7version = 3
Note: See TracBrowser for help on using the repository browser.