Ignore:
Timestamp:
May 6, 2017, 5:12:55 AM (5 years ago)
Author:
andersk
Message:
Read a per-user mailbox_command from LDAP

scriptsMailboxCommand is currently generated as an operational
attribute using the following CoS template in LDAP:

dn: cn=scriptsMailboxCommandTemplate,ou=People,dc=scripts,dc=mit,dc=edu
cn: scriptsMailboxCommandTemplate
objectClass: top
objectClass: cosTemplate
objectClass: extensibleObject
scriptsmailboxcommand: /usr/bin/procmail -t -p -a "${EXTENSION}" ~/mail_scripts/procmailrc

dn: cn=scriptsMailboxCommandCoS,ou=People,dc=scripts,dc=mit,dc=edu
cn: scriptsMailboxCommandCoS
objectClass: top
objectClass: ldapSubEntry
objectClass: cosSuperDefinition
objectClass: cosPointerDefinition
costemplatedn: cn=scriptsMailboxCommandTemplate,ou=People,dc=scripts,dc=mit,dc=edu
cosAttribute: scriptsMailboxCommand operational-default

Location:
trunk/server/fedora/config/etc/postfix
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/postfix/main.cf

    r2728 r2841  
    1313relayhost =
    1414mynetworks_style = host
    15 mailbox_command = /usr/bin/procmail -t -p -a "${EXTENSION}" ~/mail_scripts/procmailrc
     15mailbox_command_maps = ldap:/etc/postfix/mailbox-command-maps-ldap.cf
    1616mailbox_size_limit = 0
    1717message_size_limit = 41943040
Note: See TracChangeset for help on using the changeset viewer.