Re: [Exim] use_shell

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Kirill Miazine
CC: 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.