Your /dev/null should definitely be a character device. You might also look at the permissions, since the ones you gave suggest that only root can both read and write to /dev/null (/dev/null is one of the few files that probably should be world-writable; read permission is less important, but probably should be available to everyone as well). For reference, my /dev/null looks like: crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null.
Your second problem (sendmail) is a bit tricky, since you have only a relative pathname. However, the filename looks like the results of tempnam (), so you might check the permissions on /tmp (a long shot, I know, but you never know ...). Depending on how sendmail is invoked (shell script wrapper, etc.) you may be able to run it in debug mode (-d) or use set -x in the calling script to see a bit more of what's going on. There's also the syslog output (/var/log/* on my system) that may provide a clue.
Sorry I can't be of more help; I gave up on sendmail a long time ago, as it seemed to be more trouble than it was worth. I run qmail and have never looked back.
Hope this helps.
__________________ The slowest component still sits at the keyboard. |