LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail Permissions (https://www.linuxquestions.org/questions/linux-software-2/sendmail-permissions-684446/)

linuxbird 11-18-2008 05:48 PM

Sendmail Permissions
 
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?

Thanks.

mazhar_theone 11-19-2008 03:04 PM

Quote:

Originally Posted by linuxbird (Post 3346865)
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?

Thanks.

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


All times are GMT -5. The time now is 10:03 PM.