OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: spec queue and sorting
From: agohollo.idg.hu
Date: Tue Jul 04 2000 - 17:21:00 CDT


Hi !
> > the file and move it to a directory where his daemon waits and examines
> > the file (and decide what to do with it). Somebody did somethig similar ?
>
> Don't do this. Instead, use an alias that delivers the message to
> "|command", or use a Postfix pipe transport that does the equivalent.

Use an alias ? What do you mean ? "luser_relay=sms | mycommand " ? Or what
? Please give me an example.

> Why is delivery to command much faster than delivery to disk?
> Because CPUs are much faster than disks. Not to mention that
That's the problem. The daemon is too fast and takes the first 15-20 bytos
from the whole mail only. That's why we need saving and individual files.

> having a daemon constantly scanning the disk for new mail ruins
> the performance of the machine.
That's the only thing what the machine is serving.

>
> What happens wehn multiple messages arrive for the same user before
> the daemon discovers that the user has new mail?
>
I dunno. I will ask the programmer. But I suspect that part of the job
would be his.

> Postfix *IS* the mail queue management system.
>
Got it. Thanks.
Ago