procmail
[Top] [All Lists]

Re: Procmail futures

1999-01-09 13:06:12
On Sat, 9 Jan 1999, Bennett Todd wrote:
Remember the LDA is invoked for every delivery.

Sorry for ripping out the rest of your post, but this was the part that
made me sit up and think about something.

Why invoke a separate copy of a local delivery agent every single time you
want to deliver something (from a high-level perspective; forget
implementation details for now)?

Wouldn't things be more efficient with a single process, perhaps
multi-threaded (or multi-process, ala Apache), with the MTA simply feeding
this (via some sort of IPC), and this delivery "engine" doing deliveries? 
Give it enough smarts to be able to deliver mail according to a set of
user-defined rules (.deliveryrc, a database, etc.; which could be cached
for efficiency if needed).

Obviously, you'd want to think about how to partition this model for
security, such that your root-based operations were limited to as little
code as possible, and everything else runs as a non-priviledged user.

This is all just coming out off-the-cuff as it were, so maybe I've made a
thinko here, in that it wouldn't be as significantly faster as it it would
seem to be...

[2] <URL:http://www.tecgraf.puc-rio.br/lua/>

This website doesn't seem to work...do you have any other information
about this scripting engine?

-- 
Edward S. Marshall <emarshal(_at_)logic(_dot_)net>       [ What goes up, must 
come down. ]
http://www.logic.net/~emarshal/               [ Ask any system administrator. ]

    Linux labyrinth 2.2.0-pre4 #1 Sun Jan 3 13:28:42 CST 1999 i586 unknown
       1:40pm up 5 days, 22:21, 3 users, load average: 0.02, 0.02, 0.00

<Prev in Thread] Current Thread [Next in Thread>