Control Web Panel

WebPanel => Postfix => Topic started by: ivangarciazuaje on August 28, 2020, 05:56:08 PM

Title: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: ivangarciazuaje on August 28, 2020, 05:56:08 PM
Hello Fellows,

I have a problem with my vps. The emails from the mailboxes work perfectly however, no form works and when I see the logs in / var / log / maillog I find the following: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name value : nobody

I can't find the solution. Can you help me? Thank you!
Title: Re: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: cwp_user2018 on August 29, 2020, 02:04:41 PM
# nano /etc/passwd
Uncomment nobody user

# service postfix restart
Title: Re: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: ivangarciazuaje on August 30, 2020, 01:14:53 AM
Hello!!!
Thank you for your answear! but i´m into the file /etc/passwd and i didnt find user nobody user. I´m just find this: nobody:x:99:99:Nobody:/:/sbin/nologin
Any other idea?

Thank you very much!!!
Title: Re: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: cwp_user2018 on August 30, 2020, 07:06:16 AM
Try running `postfix set-permissions` as root then restart the service.
Title: Re: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: cwp_user2018 on August 30, 2020, 07:10:11 AM
hmmm nobody is used by apache so maybe it is mail sending with php.
can you check httpd logs ?
Title: Re: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name val
Post by: ivangarciazuaje on August 30, 2020, 06:54:18 PM
Hello,

When i run command postfix set-permissions its tell me the following:

[root@vps log]# postfix set-permissions
postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"