Re: [Exim] Hi.. moving to vitrual domains..

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Derrick MacPherson
Cc: Exim Users List
Asunto: Re: [Exim] Hi.. moving to vitrual domains..
On Wed, 12 Apr 2000, Derrick MacPherson wrote:

> Any suggestions as to how to moving my current mailboxes (/var/mail) to
> /var/mail/domain


(1) Change your configuration so that if /var/mail/$local_part exists, it
uses that; otherwise it uses /var/mail/$domain/$local_part. (This can be
done with ${if exists ....} in the file name.)

(2) Use exim_lock to move individual mailboxes by a command such as

exim_lock mv /var/mail/xxx /var/mail/domain/xxx

assuming that will do a rename. If the mailboxes are on different
partitions, you will have to copy and then delete the old one, all under
exim_lock.

I think it should be safe to do that while the system is running
normally, but if you are paranoid, you can stop all Exim deliveries by
inserting

queue_only

in the configuration while you are moving things.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.