An introduction to UNIX mail service

last updated in Categories News

Most tutorials on UNIX mail services skip section related to mail directories. However joe’s (you can get his book Unix for the Beginning Mage here) tutorial starts with /var/spool/mail directory and it further explains the difference between mbox (an electronic mail file format) and maildir format. It explains fundamentals in joe’s own classic style 🙂


“It was Acre’s first day of training in the Towers mail department over at /var/spool/mail. This is where all the mail is stored and waits to be retrieved by the POP and IMAP daemons.
“How do these mailboxes work?” Acre asked the admin on duty.
“Well,” the admin replied, “it’s really not that complicated. Our Tower users a mail storage format known as maildir.”

Read it online.


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.