LinuxCommandLibrary

pam_mail

notifies users of new mail

TLDR

Check for new mail

$ session optional pam_mail.so
copy
Show standard mail path
$ session optional pam_mail.so standard
copy
Custom mail directory
$ session optional pam_mail.so dir=~/Maildir
copy
Quiet on empty
$ session optional pam_mail.so nstruc
copy

SYNOPSIS

pam_mail.so [options]

DESCRIPTION

pam_mail notifies users of new mail. Checks mail spool at login.
The module displays mail notifications. Session login feature.

PARAMETERS

dir=PATH

Mail directory.
standard
Use standard mail spool.
nopen
Don't print new mail count.
quiet
Only report if mail exists.

CAVEATS

Session module. Mail spool dependent. Optional notification.

HISTORY

pam_mail provides mail notification at login for Unix mail spools.

SEE ALSO

pam(8), mail(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community