Problem in restoring INBOX in Sendmail

Posted on 2006-07-24
Last Modified: 2013-12-16

We have sendmail server on RHEL4.0. and created around 100 mail accounts. Suddenly all the accounts are not getting mails in INBOX, but other folders Like drafts, sent items have the messages. The INBOX Folder is empty in all the accounts (all clients are using OLX). At server end in the path /home/DQE/accountname  there is no INBOX folder but there is an mbox folder. Please can anyone  help me in restoring the mails to inbox.


Question by:banala
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 22

Expert Comment

ID: 17169906

From what you are saying, it sounds as if it is correct. In an mbox, *ALL* emails are stored in the one file. New emails are delivered by sendmail to the end of the mbox file. Try making a copy of one and opening it in a text editor. Check the modification dates to see if a mail is really being delivered or not. (Likewise file size changes.)

Remember that for a POP account, only the inbox exists. The other folders are created by whatever IMAP software you are running.

From your description, either Sendmail, or Postfix, or whatever process you use as an MTA is not working. For sendmail:

/etc/init.d/sendmail status

to check.

/etc/init.d/sendmail start

to start.

(   (()
(`-' _\
 ''  ''

Author Comment

ID: 17224983
/etc/init.d/sendmail status returns, sendmail (pid 20925 20917) is running...
i am running squirril mail as my webclient, that is fine - added to the complexity entire user info is from active directory on windows 2003
LVL 22

Expert Comment

ID: 17225062
You also need to identify what IMAP server you are using, and check whather that is running correctly as well. This will probably be courier Cyrus UW IMAP or Dovecot.

As sendmail is running, you should get some good useful information in the /var.log/maillog folder (or similar).

(   (()
(`-' _\
 ''  ''
LVL 22

Accepted Solution

pjedmond earned 500 total points
ID: 17225081
You should be able to test the mail delivery system by sending an email to one of the users. The email will be added to the end of the mbox file, which you should see from the last modified date, or by manually looking at the file. The INBOX will only become visible once your IMAP daemon is running.

(   (()
(`-' _\
 ''  ''

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question