LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sendmail FileSystem alias permissions issue ? (https://www.linuxquestions.org/questions/linux-server-73/sendmail-filesystem-alias-permissions-issue-4175412715/)

Rohit_4739 06-21-2012 02:49 PM

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.

bathory 06-22-2012 12:55 AM

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

Rohit_4739 06-22-2012 08:34 AM

Quote:

Originally Posted by bathory (Post 4709032)
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.


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