Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to use a Maildir as the mailspool for users on a *nix box? I can get procmail to deliver to a Maildir without any problem, but I want to keep all the nifty features like finger knowing when mail last came in and shells alerting users when they have new mail...

UPDATE: So, investigation shows that there is no "default mailspool" on a general level. Finger (the client, not the server) has a hard-coded path. pam_mail is what does the new mail notifications and has its own config, etc... so there is no "one place" to change this.

share|improve this question
Somebody still uses finger? – Zoredache Nov 4 '10 at 22:41
up vote 1 down vote accepted

The short answer is no, since both finger and the shell rely on the access time of the mailbox in /var/mail (in mbox format) to display such information. However, you could write a daemon that could "biff" logged-in users and modify ~/.plan appropriately to contain such information.

share|improve this answer

finger, at least on FC14, is hard-coded to check /var/mail/username. For the shell there is the PAM module pam_mail that understands maildir.

share|improve this answer
So, pam_mail displays the "you have mail" message when I log in... who writes the "you have new mail" message to my terminal when I'm already logged in? – singpolyma Nov 5 '10 at 20:36
Oh, it seems that is built right into bash. Ick – singpolyma Nov 5 '10 at 20:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.