linux - Can't send mail from ubuntu -


i can't send mail ubuntu , when cat /var/log/apache2/error.log see following error:

sh: 1: /usr/sbin/sendmail: permission denied

note :- selinux disabled

$ stat /usr/sbin/sendmail     file: ‘/usr/sbin/sendmail’ -> ‘/etc/alternatives/sendmail’   size: 26         blocks: 0          io block: 4096   symbolic link device: 801h/2049d inode: 1318147     links: 1 access: (0777/lrwxrwxrwx)  uid: (    0/    root)   gid: (    0/    root) 

you need superuser use binaries found @ sbin. sendmail in /usr/sbin/, have superuser, if not, permission denied error


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -