Problem starting sendmail after fresh install on CentOS4.4

Installed on a freshly installed CentOS4.4
Install went fine… no errors…

I noticed no mail coming in or going out… I tried to start sendmail…

[[root@zeus init.d]]# /etc/rc.d/init.d/sendmail start
Starting sendmail: [[ OK ]]
Starting sm-client: sendmail: fatal: flush queue mode requires no recipient
[[FAILED]]

Looking at the init script for sendmail… it calls /usr/sbin/sendmail

/usr/sbin/sendmail is a symbolic link…
[[root@zeus init.d]]# ls -al /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 May 10 16:37 /usr/sbin/sendmail ->
/etc/alternatives/mta

So… is it trying to run postfix with sendmail switches?

What do I need to change to make it run?

you’ve probably got postfix running. use the command

alternatives --config mta and choose the number for sendmail

Thank you!! That worked like a charm.