FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 10-08-2008, 05:53 PM
Michael Wagner
Default exim4 mainlog & msglog permissions?

Hello Thomas,

* Thomas H. George <lists@tomgeorge.info> 08.10.2008
> After finally understanding the exim4 authentication setup - as root I
> am able to send email to my other mail box - I tried to send mail as tom
> and from mutt. No go.
> First, there were messages that exim4 could not write to the files
> /var/log/exim4/mainlog and paniclog - permission denied.
> I added tom to the Debian-exim group and the mail group. This had no
> effect. I then changed the file permissions from 640 to 666. That
> resolved the mainlog and paniclog problem.

This is normally not necessary. Here is the output from my files.

$ls -l /var/log/exim4
-rw-r----- 1 Debian-exim adm 12803 8. Okt 19:28 mainlog

> Next there was a message the exim4 could not write to the directory
> /var/spool/exim4/msglog - permission denied. Again I changed the
> directory permissions to 666.

$ls -l /var/spool/exim4/
drwxr-x--- 2 Debian-exim Debian-exim 4096 8. Okt 18:10 msglog

> I don't understand this at all. It seems to me that the standard
> installation should such that normal users can send and receive mail and
> root is prevented from doing so. What I have encountered is the other
> way around and I have yet find all the changes - or the best practice
> changes - which allow a normal user to send mail.

What messages do you get in the logfiles when you want to send mail?

First of all make as root

$dpkg-reconfigure exim4-config

and answer the questions according to your needs which you will be asked
for. Here on my Debian Sid and on my Etch it was working out of the box.
The only thing I had to do was the "dpkg-reconfigure" command.

Hth Michael

This is Linux Country. On a quiet night you can hear Windows NT reboot!

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 03:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org