$NetBSD: patch-ai,v 1.1.1.1 2006/04/28 18:10:21 jlam Exp $ --- courier/module.local/local.c.orig 2004-10-23 22:02:38.000000000 -0400 +++ courier/module.local/local.c @@ -731,6 +731,8 @@ const char *quota; strlen(argv[7])), "SENDER="), argv[7])); + putenv(strcpy(courier_malloc(sizeof("COURIER_MTA=")), + "COURIER_MTA=")); putenv(strcat(strcpy(courier_malloc(sizeof("HOME=")+ strlen(homedir)), "HOME="), homedir)); putenv(strcat(strcpy(courier_malloc(sizeof("DEFAULT=")+