How to stop automatic creation of /var/mail/$USER

Michael P. Soulier msoulier at
Mon Jan 1 15:52:46 PST 2007

On 1/1/07, Sahil Tandon <sahil at> wrote:
> It doesn't hurt anyone but is it possible to disable its creation?

Not sure if there's an easier way, but you could always patch it and
rebuild it.

Or, you could just put a wrapper around it that removes the file after
creating it.

Michael P. Soulier <msoulier at>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

More information about the freebsd-questions mailing list