1 $NetBSD: patch-ac,v 1.4 2010/06/15 23:14:47 pettai Exp $
3 --- maildrop/main.C.orig 2006-10-01 20:03:37.000000000 -0400
5 @@ -575,7 +575,7 @@ uid_t my_u=getuid();
10 + if (!deliverymode || !getenv("COURIER_MTA"))
14 @@ -635,6 +635,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 @@ -659,6 +667,8 @@ Buffer value;
31 if ((p=getenv("MAILDIRQUOTA")) && *p)
32 maildrop.init_quota=p;