LDAP PROGRAM

From Qmail-LDAP Wiki

Jump to: navigation, search

Program to execute for all incoming mails. Gets the message as input on stdin.

Default LDAP attribute name:

deliveryProgramPath

Example:

deliveryProgramPath: /usr/bin/program -c -s

Notes:

  • Multifield.
  • The same as |/usr/bin/program -c -s in .qmail file.
  • Works only with qmailDotMode set to ldapwithprog or both.
  • With ldaponly set deliveryProgramPath is silently ignored.
  • Before using it have a look at QLDAPNEWS, qmail-ldap.h, check.c and see also 5.2.
  • Program delivery is done in addition to local (maildir/mbox) delivery.
  • Program delivery can be disabled without having to remove the entries.
  • See deliveryMode for more information on both.
  • A valid home-directory is needed so either LDAP_MAILSTORE or LDAP_HOMEDIR needs to be defined.
Personal tools