Re: [Exim] user name db

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: Holger Nilsson
CC: exim-users
Assumpte: Re: [Exim] user name db
Holger Nilsson wrote:
> I am using Exim 3.36 under Linux in a setting where incoming mail is


Upgrade to exim4 ;)

> saved in the users' Unix mailboxes (flat files) in the spool directory
> /var/spool/mail. This has worked well for a long time.
>
> I have now run into problems when I created a new user with the
> user name 'db'. It turns out that the MTA (I think) used a directory
> named db under /var/spool/mail where is stores files retry,
> retry.lockfile, wait-remote_smtp, and wait-remote_smtp.lockfile.
> There thus appeared a conflict between the existing directory db and
> the expected delivery file db.
>
> What is the appropriate solution for this problem? Is there a way to
> rename the directory (or to move it)? Or do I have to rename my
> user? I have tried to go through the specification without any luck,
> but I suppose there is an answer somewhere...


You made the mistake to use the exim spool-directory as mailstore für
your users, you should use different directories.

Short term solutions:

Stop exim.
Now, either follow advise 1 or 2.

1) Move all mailfiles from /var/spool/mail to /var/mail and set
    /var/mail/$local_part as default destination for your
    appendfile-transport


2) move all directories from /var/spool/mail (db/input/msglog) to
    another directory (/var/spool/exim) and set
    spool_directory=/var/spool/exim in your configfile, or recompile exim
    with the new setting


Check everything, and start exim.

Nico