Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I got exim now for more than two years running on my server without any problem. But last week when I updated my packages (I'm using Debian unstable) something could happen.
I just realised that I cannot send mail via pine and it keeps giving an error message without any comment just a bunch of numbers and letters.
I checked around the exim and mail log files and I found this:
"2-22 06:28:29 1D3SXd-0003i1-00 Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=8
Feb 22 06:28:29 iguana exim[14261]: exim: could not open panic log - aborting: original error above"
So I checked the permissions of the /var/log/exim/mainlog file and I found it to be set "root" as owner. So I changed it to be "mail" the owner and left anything else unchanged and this way I could send mails again.
I thought I solved the problem the only thing I didn't understand what did change the owner of the file. BUT the next they it all started again... Cannot send mail... The owner of mainlog was the root again. I played this game for three days so I got no idea what's going on.
I know this is pretty old, but did you ever figure this out? I just hit this issue and fixed it the same way, but have no idea how it was working for the past 2 years and all of sudden stopped working.
We ran across something at work on some SuSE boxes where there's a process that checks certain files/dirs against a config file, and changes permissions back to match the config file if they'd changed. I don't know if that includes ownership, but it could. I'm sorry I can't remember what the process was or the name of the config file, but hopefully this will give you something to start with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.