[Exim] Re: Lock file location

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Morten
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Re: Lock file location
Alex,

> I has this issue originally - in my case I moved everything into
> /etc/mail/ and made sure that the exim user was a member of the "mail"
> group (which is the group /etc/mail/ is owned by).


Could you elaborate on this? What did you move to /etc/mail and what
sort of reconfiguration did it take afterwards?

Thanks!

Morten

Alex Lomas wrote:
>>I've just installed exim. For some reason it tries to put lock files in
>>/etc rather than /var/spool/mail
>>
>>exim-base-4.31-0_16.rh9
>>exim-4.31-0_16.rh9
>>
>>I get the following in /var/log/exim/main.log
>>
>>2004-04-11 17:43:22 1BCh7C-000251-Ms <= morten@???
>>H=cicero2.cybercity.dk [212.242.40.53] P=esmtp S=939
>>id=40795802.5090001@???
>>2004-04-11 17:43:22 1BCh7C-000251-Ms == /etc/aliases
>><morten@???> R=system_aliases T=address_file defer (13):
>>Permission denied: creating lock file hitching post
>>/etc/aliases.lock.mail.primdahl.name.4079679a.00001f42 (euid=93 egid=93)
>>
>>Any ideas? I have modified the config file to have a hardcoded location
>>of the aliases file:
>>
>># data = ${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}
>>
>>system_aliases:
>> driver = redirect
>> allow_fail
>> allow_defer
>> data = /etc/aliases
>> file_transport = address_file
>> pipe_transport = address_pipe
>>
>>Could this cause exim to write lock files in /etc rather than
>>/var/spool/mail?
>
>
> I has this issue originally - in my case I moved everything into
> /etc/mail/ and made sure that the exim user was a member of the "mail"
> group (which is the group /etc/mail/ is owned by).
>
> Not sure if this is the right way or if there's a workaround, but this
> worked for me - keeps all my mail configs in one place as well, as I use
> separate files for all my virtual domains etc.
>
> --Alex
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>