a mail question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chuck.

This would work if I was using the old mbox style mailboxes. The maildir style mailboxes avoid using /var/spool/mail totally. In fact, you could delete that directory, and no e-mail program would care if everything was set up for the maildir mailbox format. Thanks for the suggestion though.
Greg


On Mon, Jul 22, 2002 at 06:24:11AM -0400, Charles Hallenbeck wrote:
> Greg,
> 
> If a user has mail on my Slackware system, there is a non-zero
> length file under /var/spool/mail by the same name. You could
> write a script to check for the presence of such a file and that
> would tell you if the user has mail or not. If there is no mail
> for the user, the file is still present but has a length of zero.
> 
> Chuck
> 




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux