Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Can't POP the mails off the server, the mailbox is corrupt! Post 302940520 by Nancy L on Tuesday 7th of April 2015 12:49:12 AM
Old 04-07-2015
Can't POP the mails off the server, the mailbox is corrupt!

Quote:
Originally Posted by RudiC
Not sure I understand your problem entirely, but could you save your nancy file to a backup, and then chop it off to zero size (e.g. by >nancy on the command line)?
Later you can work on the backup trying to retrieve as many mails as possible.

Well, the problem is that my mailbox nancy /usr/spool/mail/nancy # mutt -f nancy and it says nancy is not a mailbox, so mutt can't get into my mailbox nancy, And I tried to get in with vi [ # cd vi /usr/nancy/ ] it said “nancy” does not exist. So my mailbox file name is user nancy, but “nancy” can't be the file name because it doesn’t exist and it isn't a mailbox. And RudiC, could you show me how to do a backup for nancy file. Thank you!
[/CODE]
---------- Post updated at 07:55 PM ---------- Previous update was at 07:38 PM ----------

Quote:
Originally Posted by RudiC
Not sure I understand your problem entirely, but could you save your nancy file to a backup, and then chop it off to zero size (e.g. by >nancy on the command line)?
Later you can work on the backup trying to retrieve as many mails as possible.
Well, the problem is that my mailbox nancy
/usr/spool/mail/nancy # mutt -f nancy and it says nancy is not a mailbox,
so mutt can't get into my mailbox nancy,
And I tried to get in with vi [ # cd vi /usr/nancy/ ]
it said “nancy” does not exist. So my mailbox file
name is user nancy, but “nancy”
can't be the file name because it doesn't exist
and it isn't a mailbox.
And RudiC, could you show me how to do a
backup for nancy file.


Well, the problem is that my mailbox nancy
/usr/spool/mail/nancy # mutt -f nancy and it says nancy is not a mailbox,
so mutt can't get into my mailbox nancy,
And I tried to get in with vi [ # cd vi /usr/nancy/ ]
it said “nancy” does not exist.
So my mailbox file name is user nancy, but “nancy”
can't be the file name because it doesn't exist and it isn't a mailbox. And RudiC, could you show me how to do a backup for nancy file. Well, the problem is that my mailbox nancy /usr/spool/mail/nancy # mutt -f nancy and it says nancy is not a mailbox, so mutt can't
get into my mailbox nancy, And I tried to get in with vi [ # cd vi /usr/nancy/ ] it said “nancy” does not exist. So my mailbox file name is user nancy, but “nancy” can't be the file name because it doesn't exist and it isn't a mailbox. And RudiC, could you show me how to do a backup for nancy file.
---------- Post updated at 09:49 PM ---------- Previous update was at 07:55 PM ----------

Quote:
Originally Posted by jgt
The location of the mail box is controlled by the contents of the file "/usr/mmdf/mmdftailor" regardless of whether mmdf or sendmail is the mail processor.
The mail messages in the mailbox are separated with 4 <ctrl>A characters on a line by itself. One at the beginning of the email, and one at the end. So emails in the middle of the file have 2 <ctrl>A lines in a row. You could fix the file using vi, but that may be problematic with a 16mb file.
An alternative is to create a new user in scoadmin, and exit a # prompt.
Code:
#cd /usr/spool/mail
#cp nancy new_user
#cat >nancy
<ctrl>d
#ls -l nancy 
output should show that nancy has a size of 0

.
You have now isolated the problem mail box, which you can process using mutt, and nancy's mailbox is cleared of any errors.
Quote:
Mutt -f nancy nancy is not a mailbox.
-rw------- 1 nancy group 21 Apr 6 20:03 nancy and the emails went somewhere....
-rw------- 1 nancy group 11697 Apr 6 21:05 nancy <-- is still receiving emails
-rw------- 1 nancy group 633980 Apr 6 21:30 nancy
-rw------- 1 root sys 24053921 Apr 6 20:01 new_user
mutt -f new_user: Permission denied (errno = 13) mutt -f new_user
new_user is not a mailbox.so I still can't into that.

-rw------- 1 root sys 24053921 Apr 6 20:01 new_user

And I still can't POP the mail nancy and new_user

Eudora gave error info, There has been an error transferring your mail.
and then the POP server [nancy@worf.yyy.com] said: ERR Mail drop does not start with a From envelope line.
Maby I didn't do your code correctly? I put the code in the way you put it.
Boy this is a mess! I appreciate your help!

Last edited by Nancy L; 04-06-2015 at 11:44 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mails from unix server are not being received

Both A and B people has mail client to mail client interaction happily. 1) mails from A company unix server 'uuu' are being received by A company people onto their mail client. So A company people are happy. 2) mails from A company unix server 'uuu' are not being received by B ... (4 Replies)
Discussion started by: vkandati
4 Replies

2. UNIX for Advanced & Expert Users

How to allow roaming client to send mails via its mail server

Hi folks OS- Debian Etch Xen postfix courier perdition perdition-mysql MySQL Single public IP Dom0 - Debian Etch workstation Server-1, domU1 for routing with perdition and perdition-mysql installed Server-2, domU2, mail server for domain-A Server-3, domU3, mail server for... (2 Replies)
Discussion started by: satimis
2 Replies

3. UNIX for Dummies Questions & Answers

Question regarding mails from Solaris server

Hi, I am facing a problem with the mails coming from one of my server. The server hostname is "britten" and one of its aliases is "espmgy" in /etc/hosts. When I am sending any mail from the server its coming from abhi@espmgy.com instead of abhi@britten.com Can anyone tell me from where... (0 Replies)
Discussion started by: max29583
0 Replies

4. UNIX for Dummies Questions & Answers

Can't configure sendmail to send mails to external SMTP Server

Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies

5. Filesystems, Disks and Memory

Original SAN to a New Solaris Server: Corrupt Label

I've seen several posts that are similar to what I'm trying to do but no dice. I have a server (SunFire V215) that went belly up. I've set up a new one. I'm getting a corrupt label: wrong magic number error. Everything I'm seeing says label the drives, but if I do I'm afraid I'll lose the data... (0 Replies)
Discussion started by: tnelson
0 Replies

6. UNIX for Advanced & Expert Users

Mailbox server performance issue

Hi. my company's mailbox server has severe performance issue on the days while full backup is running. There is huge I/O in another "mail replication process" for standby servers ( which runs all the time, every 15 mins. ). specs of servers :- RHEL5.5 , kernel -2.6.18-53.1.6.el5 , 8 core... (6 Replies)
Discussion started by: gauravsharma29
6 Replies

7. Post Here to Contact Site Administrators and Moderators

Can't POP the mails off the server, the mailbox is corrupt!

SCO OpenServer(TM) Release 5 (worf.xxx.com) Worf is my proxy Server, and it runs my Lan with windows PCs, wk2s & XPs. There are only two users who POP the mailbox from the Server to client, elena and me nancy! elena can POP her email mailbox is just fine. We use Eudora and for years we... (1 Reply)
Discussion started by: Nancy L
1 Replies

8. HP-UX

Unable to receive mails from email relay server

Hi, I have reports that are generated in one server (10.61.1.108), hostname l28bi01. These reports are supposedly sent to a group of email addresses hourly via an email relay server. However, this is not happening. In sendmail.cf in bi01, the DS Smart Relay Host ip address is: ... (3 Replies)
Discussion started by: anaigini45
3 Replies
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy