Solved

Problem in restoring INBOX in Sendmail

Posted on 2006-07-24
7
211 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS Central Authentication 1 87
000webhost.com default error log 1 40
linux 13 75
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 37
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

860 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