Originally Posted by linuxbird
Last night I was busy archiving things from one drive to another.
Today, mid-morning, I noticed that sendmail wasn't working right, as it had it's uid and gid changed. I changed to back, and looked around and found a few others changed, and a couple of permissions changed. It seemed to be a random smattering of changes.
Today I spent the day trying to make sure that I had the permissions of sendmail, majordomo and everything else right. Fortunately, I had another Slack 12.1 system here to compare it to. Unfortunately, that doesn't get it going. I even tried loosening up the permissions in sendmail.cf, just to see if I could coach it into working. No dice.
Can anyone point me in the right direction? googling around, I find people who have been in similar situations, but no follow-ups saying what worked.
Any ideas or pointers?
1) make sure the /usr/sbin/sendmail.sendmail has special group permission you can give it using
# chmod g+s /usr/sbin/sendmail.sendmail
/usr/sbin/sendmail.sendmail has smmsp groupowner
# chown root.smmsp /usr/sbin/sendmail.sendmail
2) /usr/sbin/sendmail.sendmail has soft link to /etc/alternatives/mta
# ln -s /usr/sbin/sendmail.sendmail /etc/alternatives/mta
3) and /etc/alternatives/mta has soft link to /usr/sbin/sendmail
ln -s /etc/alternatives/mta /usr/sbin/sendmail
check the current mta using # alternatives --config mta