Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I look exactly the same : enter image description here But What makes me suprised is that they are synchronous. enter image description here

share|improve this question
2  
This might help! –  JS웃 Jan 20 '12 at 6:27
add comment

migrated from stackoverflow.com Jan 20 '12 at 6:34

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 4 down vote accepted

/var/spool/mail is a symbolic link to /var/mail on my Debian/Sid system:

 % ls -ld /var/mail /var/spool/mail
 drwxrwsr-x 2 root mail 4096 Dec 31 17:46 /var/mail
 lrwxrwxrwx 1 root root    7 May 12  2011 /var/spool/mail -> ../mail
share|improve this answer
    
thx, /var/mail is a symbolic link to /var/spool/mail in RHEL 5 –  爱国者 Jan 21 '12 at 0:57
add comment

What you ask is really a matter of preferences; meaning: whatever mail delivery daemon you have in use on your system can use either or.

More specifically, it's a mere matter of preference of options laid out by the FHS.

Typically, on more complex mail configurations, things like mail queue, deferred messages, etc are stored in a structure in /var/spool/, independent of /var/mail.

You can see /var/mail used separately from /var/spool/mail (AKA: not symlinked). Local mail will end up in /var/mail - while SMTP daemon handling email for virtual mailboxes, etc will happen in /var/spool/mail

share|improve this answer
add comment

Your Answer

 
discard

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.