LDAP MODE
From Qmail-LDAP Wiki
Multi field entries of these keywords:
- (no entry): default delivery, put message into maildir/mbox (localdelivery), plus forward and program delivery if specified.
- noforward: do not forward (ignores forwarding entries in ldap and .qmail)
- nolocal: do not put message into maildir/mbox (ignores also .qmail)
- noprogram: do not do program deliveries (ignores deliveryprogrampath, .qmail)
- reply: send an auto_reply mail with text from mailReplyText
Default LDAP attribute name:
deliveryMode
Default:
no entry -> default
Example:
deliveryMode: noforward deliveryMode: noprogram
Notes:
- The behaviour changed compared with previous qmail-ldap versions (20030801 and earlier)!
- Setting a mailForwardingAddress no longer disables local delivery. This is the most important change.
- Normal is no longer a real mode. It is just a placeholder for the default behaviour.
- Local delivery is now always done, except when explicitly disabled with nolocal.
- Noforward and noprogram disable forwardings and program deliveries even if mailForwardingsAddress or deliveryProgramPath attributes exist. This way you can keep programs and forwards but turn them off if you don't need them, instead of removing their attributes.
- If no mode to the contrary set, forwards, program deliveries, local deliveries are all done if existent.
- Reply is not automatic and has to be enabled explicitly.
