Postfix/sendmail fatal: User nginx is not allowed to submit mail

Postfix/sendmail fatal: User nginx is not allowed to submit mail

 

You need to edit /etc/postfix/main.cf 
 
and find
 
authorized_submit_users = root,www-data
 
and add nginx.
 
After that reload postfix and now you can send emails from web php forms.

Comments

Popular posts from this blog

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks