Could not read executable /usr/sbin/sendmailCould not read executable /usr/sbin/sendmail

Neil Wilson neilw at dcdata.co.za
Tue Sep 4 23:11:54 IST 2007


Hi guys,

I've never seen this one before.

Running latest MailScanner, when I start it I see the following error in 
my /var/log/mail

Sep  4 23:48:01 mail MailScanner[13066]: Could not read executable 
/usr/sbin/sendmail
Sep  4 23:48:01 mail MailScanner[13066]: Error in line 25, file 
"/usr/sbin/sendmail" for sendmail does not exist (or can not be read)

I'm using postfix but I've tried using the original sendmail binary and 
that gives the same error.

I've got these options set in my MailScanner.conf

Run As User = postfix
Run As Group = postfix
MTA = postfix
Sendmail = /usr/sbin/sendmail
Sendmail2 = /usr/sbin/sendmail


I've tried changing the ownerships and setting various permissions.

Below is the range of files/perms I've tried.

-r-xr-sr-x 1 root    mail    752776 Sep  4 23:45 sendmail
-r-xr-sr-x 1 root    root    752776 Sep  4 23:44 sendmail-old
-rwxrwxrwx 1 postfix postfix  18992 May  4 14:00 sendmail-orig
-rwxr-xr-x 1 root    root     18840 Sep  4 23:45 sendmail-postfix
-r-xr-sr-x 1 root    mail    752776 Apr 27 20:16 sendmail.beforeaxigen

The file sendmail.beforeaxigen is the backup axigen makes before it 
changes your original file.

I've since removed axigen.

Any ideas?

Thanks.

Regards

Neil Wilson

-- 
This email and all contents are subject to the following disclaimer:
http://www.dcdata.co.za/emaildisclaimer.html



More information about the MailScanner mailing list