LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2008, 05:48 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Rep: Reputation: 36
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.
 
Old 11-19-2008, 03:04 PM   #2
mazhar_theone
LQ Newbie
 
Registered: Mar 2008
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by linuxbird View Post
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
 
  


Reply

Tags
permissions, sendmail, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail permissions problem? kunjane Linux - General 1 01-31-2014 02:36 PM
mutt + sendmail permissions problem chainik Linux - Software 0 02-10-2008 01:23 AM
sendmail, fetchmail, procmail, permissions, etc xeon123 Linux - Software 3 10-24-2006 07:54 AM
sendmail is not working & on $prompt the cmd sendmail hangs Pavan mahoorker Linux - Software 1 04-04-2006 03:57 PM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration