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
Post a Comment