6.2 Mailutils

This module uses GNU Mailutils (http://www.gnu.org/software/mailutils) and provides two main modes:

auth

This mode uses GNU Mailutils authorization mechanism to obtain user data (similar to the system ‘getpwnam’ routine) and returns positive reply if the data were retrieved and negative reply otherwise. See section Example: Using smapd with MeTA1, for an example on how to use it as a local user and alias database.

mbq

This mode allows to check whether the user's mailbox exceeded the allotted quota, and if not, whether it is able to accept a message of the given size without exceeding it. The mode name is an abbreviation of Mailbox Quota.