Solved

Problem in restoring INBOX in Sendmail

Posted on 2006-07-24
7
213 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
[X]
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
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

729 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