Re: [Exim] Installation questions on FreeBSD

Top Page
Delete this message
Reply to this message
Author: Enoch Chan
Date:  
To: exim-users
Subject: Re: [Exim] Installation questions on FreeBSD
I found out from the configure file that:
exim_user = mailnull
exim_group = mail

Apparently, no user exim or group exim has been created (I can't grep exim
from /etc/group). And I am getting an error when trying to pass a message
directly to exim:

Cannot open main log file "/var/log/exim/mainlog": Permission denied:
euid=26 egid=6
2004-01-27 01:17:07 1AlPKf-000DiK-Bv <= root@??? U=root P=local S=308
2004-01-27 01:17:07 1AlPKf-000DiK-Bv Cannot open main log file
"/var/log/exim/mainlog": Permission denied: euid=26 egid=6

Here, euid=26 refers to mailnull and egid=6 refers to mail
Then I tried to chown -R mailnull:mail /var/log/exim, I got an error that
the file/directory does not exist. What did I do wrong or did I forget to
do something? How come the folder, user, group are not created? What
should I do to fix this problem?

Please advise
Enoch

>From: Igor Karpov <jc@???>
>To: Christian Schmidt <ChriSchmiLi@???>
>CC: exim-users@???
>Subject: Re: [Exim] Installation questions on FreeBSD
>Date: Tue, 27 Jan 2004 09:44:42 +0200
>
>Christian Schmidt wrote:
>>Hello Enoch,
>>
>>Enoch Chan, 26.01.2004 (d.m.y):
>>
>>
>>>This is my first post.
>>
>>
>>Congratulation. ;-)
>>
>>
>>>I just installed Exim 4.30 on my FreeBSD box using
>>>the port. When I read the documentation, I found that I need to install
>>>Berkeley DB and add user exim PRIOR to make install. Does make install
>>>in
>>>FreeBSD automatically create the exim user for me?
>>
>>
>>Yes, when installing from /usr/ports/andsoon, "make install" will
>>"automatically" fetch, build and install the other "dependencies".
>>
>>
>>>Can I add it after the installation?
>>
>>
>>Well, I think so, but IMO it isn't necessary: Just have a look at the
>>configuration file located in /usr/local/etc/exim for a hint which
>>user and group id exim will run under.
>>
>>
>>>Also, I read somewhere that Berkeley (an older version)
>>>should come with FreeBSD. Is it true that I don't need to install the
>>>latest version to get it to work with Exim?
>>
>>
>>As I mentioned before: When installing from the FreeBSD Ports Tree,
>>you won't have to bother about installing additional "dependencies" as
>>it is done automatically...
>
>The only thing you may want to do manually is
>
>%rm /etc/periodic/daily/150.clean-hoststat \
>/etc/periodic/daily/460.status-mail-rejects
>
>%cp /usr/ports/mail/exim/files/150.exim-tidydb.sh \
>/etc/periodic/daily/150.exim-tidydb
>
>%cp /usr/ports/mail/exim/files/460.exim-mail-rejects.sh \
>/etc/periodic/daily/460.exim-mail-rejects
>
>%chmod +x /etc/periodic/daily/*.exim*
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
>details at http://www.exim.org/ ##
>


_________________________________________________________________
There are now three new levels of MSN Hotmail Extra Storage! Learn more.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1