LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 quiet
copy
Suppress new-mail check (login MOTD only)
$ session optional pam_mail.so nopen
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 (overrides the MAIL environment variable).
standard
Use the standard mail spool location.
close
Also print a notice at session close if new mail has arrived.
empty
Report even when the mailbox is empty.
hash=N
Look in N hashed subdirectories under `dir` (for sites with hashed spools).
nopen
Do not inspect any mailboxes on login (suppresses the status message).
noenv
Do not export the `MAIL` environment variable.
quiet
Only report if there is new mail (no "no mail" message).

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid