I can't offer much help yet; once again, I'm replying mainly because I
haven't seen any other replies, and I hope these comments are better than no
response at all.
I'm not familiar with the exact mailq output format you provide. (Side note:
mailq is an alternate name under whcih MTAs can be invoked. I use exim here,
and its output is formatted a bit differently from what you show -- I'd
guess you're using sendmail, the most common MTA for Linux systems.) So I'm
not certain abotu how to interpret the outout.
That said, it looks like the "(I/O error)" reports are not errors caused by
mailq but the reported cause for the messages to be in the queue instead of
sent. You need to figure out why the messages are not being sent
successfully. To do this, I'd suggest the following strategy:
1. Look in your logs (usually /var/log/*, with the specific filenames set in
/etc/syslogd.conf and varying quite a bit by Linux distribution) and see if
your MTA (presumably sendmail) logged errors at the time of transfer.
2. If the examples are all files that included attachments, make sure the
attachments are present and readable on your system. Can you cat or cp them?
Are they readable by the userids that sent the messages?
3. How do you connect to the Internet? Might the transmission time have
resulted in a timeout? Might you be using a mail forwarder that doesn't
allow attachments? Might there be a problem with your modem settings (if you
use a modem)?
4. How often is your MTA daemon set to process the mail queue? (For example,
if you use sewndmail, its daemon version will be invoked with a line
something like "sendmail -bd -q15m" -- in this example, the 15m means
process the queue every 15 minutes.) Occasional failures are a normal part
of SMTP; what makes them invisible to ordinary users is that the queue
normally gets processed every 15 or 30 minutes, so transient failures only
delay delivery for a shorr time.
In the end, I'd say that diagnosing this problerm requires knowing a lot of
detail about your Linux system, and so far we fon't know anything about it.
I hope these general suggestions help you track down your problem.
At 04:00 PM 11/9/99 +0800, [EMAIL PROTECTED] wrote:
>
>
>guys,
>
>the command that i used was mailq
>mailq was the list of the outgoing mails of the mailserver, right??
>and i got this error : i/o error can u help me guys???
>
>sorry if my first question was not clear.. i hope that this time i gave
>all the info for u guys can help me...
>
>
>--Q-ID-- --Size-- -----Q-Time----------------Sender/Re cipient------------
>
>PAA16219* 252780 Tue Nov 9 15:26 <[EMAIL PROTECTED]>
> (I/O error)
> <[EMAIL PROTECTED]>
>
>OAA13191* 79378 Tue Nov 9 14:48 <[EMAIL PROTECTED]>
> (I/O error)
> <[EMAIL PROTECTED]>
[old message deleted]
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------