send-mail: fatal: open /etc/postfix/main.cf: Permission denied

Anyone know how to fix this…

"send-mail: fatal: open /etc/postfix/main.cf: Permission denied"

I have tried everything I could find online.

2 Replies

First thing is to check what permissions the file have.. run:

ls -l /etc/postfix/main.cf

and tell us the output.

I was able to get that resolved. There were other directories, that had incorrect permissions. I am struggling with other issues but that one is resolved.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct