I'm interested in having the deliver program automatically create mailboxes
when it receives a mail item addressed to an address of the correct format but
which does not already exist. I found some mail in the archive from people
asking a similar question but no answers. Is this capability there? If not,
has anyone implemented something similar?
Software: cyrus imapd 1.6.24, cyrus-sasl-1.5.20/24, sendmail.8.10.1, solaris 8
Format (for reference): [a-z][0-9]{7}
Basically, what we would like to have happen is that the deliver program
checks the format of the address. If it is invalid, then the message is
rejected. If it is valid, then it is delivered, creating the mailbox if it
does not already exist. The first half is easy enough to do with a wrapper
program that then calls deliver, but the second half seems to be best handled
by deliver itself.
Thanks for your help/thoughts,
Stephen