| Linode Forum https://forum.linode.com/ |
|
| Installed Exim on Debian - cannot send test @ command line https://forum.linode.com/viewtopic.php?f=11&t=10837 |
Page 1 of 1 |
| Author: | theatereleven [ Sun Feb 09, 2014 1:31 am ] |
| Post subject: | Installed Exim on Debian - cannot send test @ command line |
Hey, I'm using Debian 7.3 and a normal LAMP stack. Just installed Debian per the Linode document, and when I try and send a test message from the command line, it fails with the following: root@dallas:~# echo "you're an idiot." | mail -s Howdy test@theater11.com 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! |
|
| Author: | theatereleven [ Sun Feb 09, 2014 1:39 am ] |
| Post subject: | Re: Installed Exim on Debian - cannot send test @ command li |
Figured it out searching around online. I had to enter the following for it to work: 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. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|