1 $NetBSD: patch-ac,v 1.3 2007/08/27 22:33:19 jlam Exp $
3 --- maildrop/main.C.orig 2006-10-01 20:03:37.000000000 -0400
5 @@ -576,7 +576,7 @@ uid_t my_u=getuid();
10 + if (!deliverymode || !getenv("COURIER_MTA"))
14 @@ -628,6 +628,14 @@ Buffer value;
19 + * To allow one maildrop to be used by both courier MTA
20 + * and others, we require courier MTA to set COURIER_MTA
21 + * in the environment before running maildrop.
23 + if (getenv("COURIER_MTA"))
26 if ((p=getenv("HOME")) && *p)
29 @@ -652,6 +660,8 @@ Buffer value;
31 if ((p=getenv("MAILDIRQUOTA")) && *p)
32 maildrop.init_quota=p;