Re: [exim] Hard-link Message Copies with Exim?

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: richs
CC: exim-users
Assumpte: Re: [exim] Hard-link Message Copies with Exim?
On Mon, 16 Jan 2006, richs@??? wrote:

> Using Exim 4.60, we're investigating ways to create hard-link copies of
> messages delivered by the "appendfile" Maildir transport. For example,
> immediately before moving a message from "tmp" to "new", a hard-link in a
> "bak" directory might be made.
>
> This could allow us to backup mail that might otherwise be destroyed (or
> accidently deleted by a user) before a nightly backup can be done, without the
> storage expense of double delivery.
>
> Has anyone accomplished this before?


We use Cyrus instead of a traditional mail store, and my colleague David
Carter extended it to reduce the damabed caused by careless users. Have a
look at the delayed expunge feature and the documentation for cyr_expunge
and unexpunge in Cyrus 2.3.1.

If you want to keep delivering into maildirs, I'd suggest patching Exim.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}