On Mon, Nov 14, 2005 at 08:47:49AM +0100, Morten Nilsen wrote:
> Jason Greb wrote:
> > Fremen,
> > 
> > Thank you. I finally got everything up and running. I manually changed
> > the database for the emails in the way I wanted them. And changed the
> > configs so the new ones will be correct. As it turns out, the folders
> > don't get created until they receive a message. This seems like a bad
> > thing, as someone could try getting their mail, and would get errors
> > until they got a message. Also, Postfix.admin sends a message the first
> 
> which is exactly why all such systems send a welcome mail to new users ;)

I used to patch Courier IMAP to make directories on the fly in a
previous life. That was for v1.7.3 but the patch should always apply
with some fuzz (well, hopefully).

Jason, let me know if you're interested. I doubt this, since that'll
break swup updates and require you to build from source RPM, probably
something you don't want.

Another possible approach would be to just insert an extra program
that creates the Maildir on the fly in the chain of programs Courier
uses:

couriertcpd imaplogin authdaemon <insert program here> imapd Maildir

Then no source-level change would be needed, just a change in config
file (e.g. add it to AUTHMODULES or modify
/usr/lib/courier-imap/imapd.rc)  and a separate tiny program to write.

I have used this approach to succesfully implement a bulletin
broadcast to all users by creating links in their Maildirs to a common
file. Something like Qpopper's feature.

Just my 80 satangs (approximate local equivalent of 0.02 US$)

Greets,
_Alain_
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to