This sounds like you have run out of disk space. What output do you get if you log in to a shell and type "df -k" or just plain "df"? [sig]<p> Andy Bold<br><a href=mailto: > </a><br><a href= > </a><br>"I've probably made most of the mistakes already, so hopefully you won't have to..." Me, most days.[/sig]
Thanks for replying back, but I have already checked the output of df and df -k. Space is not a problem, it could be that we are using sendmail for internet mail's. If it cannot find a return address back, then it fails. That is my guess, but need someone with more indepth understanding of how sendmail works.
can you post the header from a failed email? (I'm not an expert, but I *have* read the book <grin>) [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
"HSubject: Returned mail: Insufficient permission"
Hmmm -- a file permissions problem? I know sendmail runs as root but I have seen programs - which run as root - that respect directory permissions like dr--r--r--
What are the permissions of root's home directory? (it might not be / by the way)
[sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
and what are the permissions on sendmail itself? (I think it runs setuid to root -- anyone?) [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
All of a sudden I started having this problem as well. Over time my queue on this server went from it's normal average of 100 emails at any given time to over 1500 emails in the queue.
I am thinking that several things may cause an error like this. Your problem may not be exactly like mine, but how I went about finding the problem causing my errors may help you find yours.
Here is how I was able to fix mine:
It was not a permission problem.
In an article posted to this group in 1997, someone said that when this error happens Sendmail changes the qf* file to a Qf* file. So, I looked in my mail queue directory and listed all the Qf* files. Then I picked one at random and listed all the files related to that mail id. Basically, I substitued the "Q" with an "*" and it listed the associated df and xf files. I did this to several of them picked at random since there were over 2000 "Qf" files.
By examining these files, we found that sendmail was trying to call up procmail. We had abandoned procmail a long time ago, and had removed the files from the server. Somehow we ended up with a sendmail.cf with procmail references in it. Luckily, I have copies of my good sendmail.cf files, so I put a good one in place and stopped and started sendmail. I also moved all the "Qf*" files and thier assiciated files off the server since they were undeliverable emails anyway.
Within a hour my mailq went from 1500+ to less than 100.
So, look at all the files related to a specific "Qf*" file, specifically the "xf" file since it seems to hold errors for emails that have problems.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.