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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My bash alias isn't executing 5 47
CentOS 7 Installation 7 59
networking details on centos 6.6 4 52
Choosing CentOS 16 56
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now