LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-21-2012, 02:49 PM   #1
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Rep: Reputation: 9
Sendmail FileSystem alias permissions issue ?


Hello friends,

I have a setup a file system alias in aliases file for sendmail as under.

abuse: /var/spool/mail/abuse.report

Now it works when i give 666 permissions to the /var/spool/mail/abuse.report but if i give permissions as 777. I know i don't need also to give 777 permissions but just out of curiosity i want to know what makes it fail. In the sendmail logs it says "Can't create output " when the permissions are 777.
 
Old 06-22-2012, 12:55 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Sendmail is a bit tricky with permissions.
Have a look at "Redirecting To Files" here for an explanation in your case.
You should also change the permissions to that file to 600 and ownership to the user:group that runs sendmail (usually daemon:daemon)

Regards
 
Old 06-22-2012, 08:34 AM   #3
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by bathory View Post
Hi,

Sendmail is a bit tricky with permissions.
Have a look at "Redirecting To Files" here for an explanation in your case.
You should also change the permissions to that file to 600 and ownership to the user:group that runs sendmail (usually daemon:daemon)

Regards
Thanks Bathroy.
 
  


Reply



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
[SOLVED] sendmail to exchange alias bino25 Linux - Newbie 2 11-14-2011 10:12 AM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
Permissions issue? Unable to create items in different areas of filesystem. wolvinedragon Linux - Newbie 6 09-26-2009 12:30 PM
restricted alias in sendmail davidstvz Linux - Newbie 1 10-28-2008 12:00 PM
Sendmail alias problem ptclinuxsa Linux - General 1 01-16-2006 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:15 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