On Wed, Apr 21, 2004 at 07:36:04PM +0200, Vladimir Nicola Chersi wrote:
> formail -X "" > /tmp/vlad.tmp
[...]
> 2: non vi e` alcuna sicurezza che il file /tmp/vlad.tmp non venga
> sovrascritto da un'altra istanza di procmail (ma _forse_ procmail processa
> una mail alla volta, e quindi _forse_ non sarebbe un problema).
Soluzioni:
- usare /tmp/vlad.$$.tmp (in cui "$$" e` il PID della shell in cui viene
eseguito il processo)
- usare un lockfile nel .procmailrc (la sintassi e` ":0 [flags] [ :
[locallockfile] ]", ad esempio ":0: spam.lock")
--
Rev. Nando Santagata: Telemastica & infornatica
You have reached Ritual Sacrifice. For goats, please press '1' or say 'goats'.
To sacrifice a loved one or pet, press the pound key.
Key fingerprint = 1054 9311 458D 4BAA E97B F447 7CD4 54B5 0208 F815
finger nandos (at) mail (dot) ipers (dot) net for my public key
|