Last change
on this file since 2591 was
2460,
checked in by andersk, 11 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
|
Rev | Line | |
---|
[2460] | 1 | server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/ |
---|
| 2 | search_base = ou=VirtualHosts,dc=scripts,dc=mit,dc=edu |
---|
| 3 | query_filter = (&(objectClass=scriptsVhost)(|(scriptsVhostName=%d)(scriptsVhostAlias=%d))(!(scriptsVhostName=scripts.mit.edu))(scriptsReservedMail=%u)) |
---|
| 4 | result_attribute = scriptsVhostName |
---|
| 5 | result_format = %U |
---|
| 6 | bind = no |
---|
| 7 | version = 3 |
---|
Note: See
TracBrowser
for help on using the repository browser.