Re: [Exim] use_shell

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Kirill Miazine
CC: Marc Perkel, exim-users
Assumpte: Re: [Exim] use_shell
On Mon, 10 Dec 2001, Kirill Miazine wrote:

> Filter? I didn't say you should use filter. Ok, take a look - why don't
> you try this:
>
> user123: /var/mail/user123
>
> This will append the new message to file /var/mail/user123.


And it will do it safely, applying the correct locks to the file. If you
run a pipe to "cat", there is no interlock. Two messages arriving at
once, or a message arriving while an MUA is modifying the file, will
scramble your file. You Have Been Warned.

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