Solved

Problem in restoring INBOX in Sendmail

Posted on 2006-07-24
7
206 Views
Last Modified: 2013-12-16
Hi,

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.


Thanks

Suddala
0
Comment
Question by:banala
  • 3
7 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17169906
DO NOT TOUCH THIS FILE STRUCTURE, UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING.

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.

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

Author Comment

by:banala
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
0
 
LVL 22

Expert Comment

by:pjedmond
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).

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

Accepted Solution

by:
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.

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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,…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

18 Experts available now in Live!

Get 1:1 Help Now