The mail module
Synopsis

`Module Name:` `Author: Andrew G. Morgan <morgan@linux.kernel.org> `Maintainer:` Author `Management groups provided:` auth `Cryptographically sensitive:` `Security rating:` `Clean code base:` `System dependencies:` Default mail directory `/var/spool/mail/` `Network aware:``

Overview of module

This module looks at the user's mail directory and indicates whether the user has any mail in it.

Authentication component

`Recognized arguments:` `Description: This module provides the ``you have new mail'' service to the user. It can be plugged into any application that has credential hooks. It gives a single message indicating the Although the module supplies functions for the authentication management group of functions, it cannot be used to authenticate a user; its authentication function instructs `The behavior of this module can be modified with one of the following flags:``

``/var/spool/mail`. Note, if the supplied `````/var/spool/mail/u/s/user`.````` `Examples/suggested usage:` This module can be used to indicate that the user has new mail when they /etc/pam.conf file: # # do we have any mail? # login auth optional pam_mail.so

Note, some applications may perform this function themselves. In such cases, this module is not necessary.