Re: Sendmail accounts corrupt
From: Bill Vermillion (bv_at_wjv.com)
Date: 10/06/04
- Next message: Bill Vermillion: "Re: Samba Configure HOW-TO"
- Previous message: willjay: "Sendmail accounts corrupt"
- In reply to: willjay: "Sendmail accounts corrupt"
- Next in thread: willjay: "Re: Sendmail accounts corrupt"
- Reply: willjay: "Re: Sendmail accounts corrupt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 06 Oct 2004 03:35:04 GMT
In article <BzI8d.149607$Np2.142191@bignews4.bellsouth.net>,
willjay <willjay@excite.com> wrote:
>On my osr 5.06 server, with sendmail 8.11 installed, had a two
>mail account files in /usr/spool/mail grow very large and kind of
>went corrupt. The users could not retrieve the email, it would
>just hang up. My email account was fine as well as several other.
>I just echo "\c" > /usr/spool/mail/theaccount to set the account
>empty and all is well.
>I looked at the file with hd and it was indeed corrupt.
>Anyone seen this happen, virus maybe.
With no idea of what the file looked like when you said 'corrupt'
it's sort of hard to tell.
When you said the users couldn't retreive the mail just how were
they getting the mail. Were they logged in and using a local mail
reader or were they running pop accounts.
I've seen instances where there will be some spam emails - that
will not download. The user connects and then nothing happens
at all until you get a time out.
I try never to totally empty an email account as you never know
what may be in there that might be important.
I normally run mutt, so as root you can do:
mutt -f /usr/spool/mail/theaccount and then just use the 'd'
to delete obvious wrong emails, and also page through to find
really large emails.
Once you get a lot of files marked for deletion, use the $ command
to resync the mailbox so that all the messages you have deleted
are junked, and then type X to exit.
This way the messages will still have the N in the mailbox showing
they are new, instead of O - meaning they were old and while not
seen the mbox was accessed while they were there.
If you use some other mail reader look up the commands.
-- Bill Vermillion - bv @ wjv . com
- Next message: Bill Vermillion: "Re: Samba Configure HOW-TO"
- Previous message: willjay: "Sendmail accounts corrupt"
- In reply to: willjay: "Sendmail accounts corrupt"
- Next in thread: willjay: "Re: Sendmail accounts corrupt"
- Reply: willjay: "Re: Sendmail accounts corrupt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|