1822522 Members
2650 Online
109642 Solutions
New Discussion юеВ

Re: sendmail error

 
SOLVED
Go to solution
someone_4
Honored Contributor

sendmail error

Hello everyone
I am seeing some werid stuff in my mailq and also in mail.log. Here is what shows up in mail.log. It is not happening to every user just a few here and there. Any ideas?

In mailq says
(I/O error: Error 0)
for the same email address that shows this in the mail.log

Feb 18 14:39:08 lvapp13 sendmail[23110]: FAA26442: to=, del
ay=09:10:40, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:08 lvapp13 sendmail[23110]: FAA26525: to=, del
ay=09:09:44, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:09 lvapp13 sendmail[23110]: FAA23099: to=, del
ay=09:35:18, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:10 lvapp13 sendmail[23110]: EAA20549: to=, del
ay=09:55:22, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:10 lvapp13 sendmail[23110]: EAA17251: to=, del
ay=10:19:20, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:10 lvapp13 sendmail[23110]: EAA19862: to=, del
ay=10:00:47, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:10 lvapp13 sendmail[23110]: EAA21618: to=, del
ay=09:47:09, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0
Feb 18 14:39:10 lvapp13 sendmail[23110]: DAA12669: to=, del
ay=10:54:27, xdelay=00:00:00, mailer=local, stat=I/O error: Error 0

9 REPLIES 9
Helen French
Honored Contributor
Solution

Re: sendmail error

Hi Richard,

Check this out. This exactly describes the same message (stat=I/O error: error 0) in the mail log:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f4adcd841da95bb529/screen=ckiDisplayDocument?docId=200000051400120

HTH,
Shiju

Life is a promise, fulfill it!
Uday_S_Ankolekar
Honored Contributor

Re: sendmail error

Hi,

Have you checked permissions for these users mail directory..? /usr/mail ? or var/spool/mqueue?

-USA..
Good Luck..
someone_4
Honored Contributor

Re: sendmail error

hello
as far as permissions go all of the users email sits on
/var/mail and that is
drwxrwxr-x 4 bin mail 102400 Feb 18 15:09 mail

Now what is weird ( I didnt set this up) but
/var/spool/mqueue is linked to
lrwxrwxrwx 1 root sys 16 Aug 16 2000 mqueue -> /var/mail/mq
ueue

I am thinking is because /var/mail sits on /dev/vg01/lvol1 so whoever set this up set it on the biggest lvol.

In sendmail.cf there is a setting for the queue
# queue directory
O QueueDirectory=/var/spool/mqueue

Could it be that the link is what is causing me problems?

Richard
Uday_S_Ankolekar
Honored Contributor

Re: sendmail error

Hi, I don;t see any problem in this. You might want to try changing directory path in sendmail.cf file to /var/mail and restart the sendmail daemon.
Goodluck,

-USA..
Good Luck..
someone_4
Honored Contributor

Re: sendmail error

well i changed that setting in sendmail.cf
and when I restarted sendmail started to complain.
WARNING: writable directory /var/mail
/var/mail was 775
so I changed it to 755
and restarted sendmail again and it didnt complain.
So I guess we will see what happends.

Richard
someone_4
Honored Contributor

Re: sendmail error

well that didnt do anything for me but cause problems.
/var/mail has to be 775 because it has to write to the user mailboxes in there and it cant if the permissions are 755. So I had to change it back to /var/spool/mqueue

Richard
Uday_S_Ankolekar
Honored Contributor

Re: sendmail error

Does mailq command shows lists of no control file mails..??
Good Luck..
someone_4
Honored Contributor

Re: sendmail error

I got a couple of no control files now. But usualy I dont have any.

Richard
Uday_S_Ankolekar
Honored Contributor

Re: sendmail error

..Oops..

If you find many no control files with mailq command , just remvoe those file from /var/spool/mqueue directory and restart the sendmail.

-USA..
Good Luck..