From: "Steve Campion" <[EMAIL PROTECTED]>
> Incidentally, can anyone give me some hints on how things are read from
> the imapd.conf file? I'd like to include some of my own config options in
> it for the notify routines I'm working on.
>
> I've played with config.c, but I can't see how it gets included.
>
Include imapconf.h in your src file, then use one of the following:
extern const char *config_getstring(const char *key, const char *def);
extern int config_getint(const char *key, int def);
extern int config_getswitch(const char *key, int def);
key - key you want to find in the imapd.conf file
def - default value if key not found in imapd.conf file
Scot