Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Feb 09, 2014 1:31 am 
Offline
Senior Member

Joined: Tue Sep 28, 2010 12:05 pm
Posts: 90
Website: http://www.theatereleven.com
AOL: theatereleven
Location: Santa Monica, CA
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!

_________________
kyler d. boudreau
theatereleven.com


Top
   
PostPosted: Sun Feb 09, 2014 1:39 am 
Offline
Senior Member

Joined: Tue Sep 28, 2010 12:05 pm
Posts: 90
Website: http://www.theatereleven.com
AOL: theatereleven
Location: Santa Monica, CA
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.

_________________
kyler d. boudreau

theatereleven.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group