Installed Exim on Debian - cannot send test @ command line
root@dallas:~# echo "you're an idiot." | mail -s Howdy
2014-02-08 23:26:04 1WCMu4-0004bE-JN Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=101 egid=103
2014-02-08 23:26:04 1WCMu4-0004bE-JN Failed to create spool file /var/spool/exim4/input//1WCMu4-0004bE-JN-D: Permission denied
2014-02-08 23:26:04 1WCMu4-0004bE-JN Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=101 egid=103
exim: could not open panic log - aborting: see message(s) above
Can't send mail: sendmail process failed with error code 1
If anyone has any ideas that would rock. I tried changing the permissions on var/spool/exim/input to 777 but that didn't help.
Thanks anyone!
1 Reply
chmod -R u+rw /var/log/exim4
chown -R Debian-exim /var/log/exim4
chmod -R u+rw /var/spool/exim4
chown -R Debian-exim /var/spool/exim4
chmod -R u+rw /var/spool/exim4/input
chown -R Debian-exim /var/spool/exim4/input
After entering all of that at the command line it worked.