Squirrelmail fails to connect to sendmail (or vice versa)
Posted on 2006-11-10
I have been using sendmail on RHES for some time, and recently configured it for use with procmail and spamassassin, so junk mail is way down :) However now Squirrelmail doesn't work. It passes the config test, and users can log into their inbox and view files that were stored in /home/user/mail, but can't send or receive mail.
I can see their mail in /var/spool/mail/user, but when I select "Check Mail" in the Squirrelmail window for that user, nothing happens, and there are no errors in the maillog. When trying to send mail from Squirrelmail, users get this error:
Email delivery error
Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -email@example.com'.
Again, the mail log only shows:
# imapd[pid_number]: imap service init from 127.0.0.1
How do I fix this?