Re: [Exim] use_shell

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Kirill Miazine
Υ/ο: Marc Perkel, exim-users
Αντικείμενο: 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.