maillock.h defines MAILDIR, MAILDIR is needed in config.h, and config.h needs to be included after maillock.h... #ifdef HAVE_MAILLOCK_H # include <maillock.h> # include "config.h" #endif In order to get _PATH_MAILDIR defined properly... Marc G. Fournier marc.fournier at acadiau.ca Senior Systems Administrator Acadia University "These are my opinions, which are not necessarily shared by my employer"