source: trunk/server/fedora/config/etc/postfix/ @ 2693

Last change on this file since 2693 was 1818, checked in by mitchb, 13 years ago
Move 389-ds's slapd-scripts.socket to /var/run It turns out that mode 777 directories containing files that daemons use is... not the most brilliant thing we've done. 389-ds has finally decided to insist on clobbering the permissions of /var/run/dirsrv to be less foolish, but several of our daemons and client programs need to be able to access the LDAP daemon's socket. Come visit it in its new home, conveniently located just two directories below the root.
File size: 1.2 KB
1# Find any vhost with a name or alias matching the domain of the e-mail
2# address.  We're queried with an entire e-mail address, but are only
3# interested in checking whether the domain portion corresponds to a
4# vhost; we'll simply deliver any mail for the vhost to its owner, regardless
5# of the lefthand side of the address.  %d extracts only the domain.
6# We don't match the vhost here because we don't want
7# to first resolve an arbitrary address to a scripts account, and then
8# end up sending their mail to the owners of the vhost.
9# Once we've found the scriptsVhost object corresponding to the domain
10# the e-mail is for, we recursively search the suffix for the vhost's
11# scriptsVhostAccount, and take the uid from that object.  This uid is
12# the name of the locker that owns the vhost.  Protocol version 3 is
13# necessary to use ldapi.
15server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/
16search_base = ou=VirtualHosts,dc=scripts,dc=mit,dc=edu
17query_filter = (&(objectClass=scriptsVhost)(|(scriptsVhostName=%d)(scriptsVhostAlias=%d))(!(
18result_attribute = uid
19special_result_attribute = scriptsVhostAccount
20bind = no
21version = 3
Note: See TracBrowser for help on using the repository browser.