On Mon, 28 Apr 2003, Rob Butler wrote:
> Yes, this would be useful only in a pure virtual environment. I.E. no users
> can log into the system, and they can only access the mail via pop or imap.
In this kind of environment there are existing mail store management
packages that do this job for you. I have no experience of it, but I
believe Cyrus will handle messages for multiple users in this way - that
is, keep a single copy of the message.
This is such a specialist thing that I think it best not to put the code
into the MTA. Even if you don't like any of the existing programs, you
could write your own and have Exim pipe or BSMTP messages to it. Then
you have complete control over how you set up the mailbox and hardlinks
etc.
Or you could have Exim maildir-deliver the message into some abstract
mailbox, and "shadow" pipe it to your application that then sets up the
hardlinks, permissions, etc.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.