Re: Sendmail accounts corrupt

From: Bill Vermillion (bv_at_wjv.com)
Date: 10/06/04


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


Relevant Pages

  • Re: Multiple duplicate email messages
    ... Go to your email provider's website, log on to your email account and ... It sounds like it is stuck or corrupt ...
    (microsoft.public.outlook)
  • ipop3d process locked
    ... i have an issue with an email account: I am not able to access it. ... into the sendmail log file, ... I've tried so far to kill the process, kill -9, killall ipop3d stop and ... As you can see from the top command, ...
    (RedHat)
  • Re: Re-Post: FitToWindow
    ... >>I don't check the Email account attached ... >>RBrandt at Hunter dot com ... It doesn't belong in the Report Open event. ... code goes in the command button Click event, ...
    (microsoft.public.access.reports)
  • Re: How can I send an email from the command line?
    ... I tried mail and man mail and I get: bash: mail: command not found. ... To install the console mail utility you have to install the ... With nail, you can easily add attachments to your mails from the ... sends the slides.pdf file to my email account. ...
    (Ubuntu)
  • Re: How to detect that user click on close button (x)
    ... change your forms property Modal = yes and popup = yes. ... (command buttons) ... >I don't check the Email account attached ... >RBrandt at Hunter dot com ...
    (microsoft.public.access.modulesdaovba)