The only ways I can think of to reasonably do this are:-
1. Literally have multiple delivery processes running off one
message file. This means changing the whole locking paradigm,
to be locking a message/domain pair rather than just a
whole message.
2. After directing, at which point we have *all* the individual
target addresses, doing something along the lines of sorting
the addresses by domain, then splitting the list, and making
multiple header files (possibly making links to the body
file to duplicate that too).
Under normal circumstances all the addresses might well come
from a single alias, in this case splitting is difficult since
you do not know when you have delivered all the addresses for
that alias...!
WHatever you do is a pain.... I hate to ask, but what does sendmail
do?? I think is behaves very similarly to exim, but its been a long
time!
Bigel.
--
[ Nigel.Metheringham@??? - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House Tel : +44 113 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656 ]