Yes, it's definitely safe to delete wheneven the server is shut down.  We 
remove it as part of the startup script at FastMail, just in case something 
crashed.  Both sync_server and sync_client will create it if necessary.  You 
can probably remove it safely, but if Cyrus is running and using replication 
there is a theoretical probability that a new process will start up with that 
PID and decide to use the directory!

Bron.

(pretty theoretical for us, we've gone for large PID space for a few years now, 
so they don't get recycled very fast)

On Tue, 22 Nov 2016, at 22:23, Karl Pielorz via Cyrus-devel wrote:
> 
> Hi,
> 
> We've upgraded a number of Cyrus servers through the years - we're 
> currently running 2.5.x.
> 
> The other day I noticed on a couple of servers we have:
> 
>   /vol/imap/spool/sync.
> 
> This directory hasn't been touched in years - but has a number of sub-dirs 
> (all numbers) - that all contain messages (again, created years ago).
> 
> Am I safe to remove this directory?
> 
> We also have:
> 
>   /vol/imap/sync
> 
> Which periodically has files created in it (the server is sync'ing to a 
> another machine - so that's expected).
> 
> But I can't tell if 'vol/imap/sync' is a replacement [now, after upgrades] 
> for 'vol/imap/spool/sync.' - i.e. if the 'sync.' directory can either be 
> cleared out (and left), or just got rid of all together.
> 
> 
> Cheers,
> 
> -Karl


-- 
  Bron Gondwana
  br...@fastmail.fm

Reply via email to