$NetBSD: patch-ac,v 1.2 2002/11/06 10:38:34 wiz Exp $

--- src/mail.c.orig	Wed May 23 11:02:11 2001
+++ src/mail.c	Mon Nov  4 13:38:33 2002
@@ -75,6 +75,20 @@
 		}
 
 		/*
+		 * Update mailgroup info
+		 */
+		if ((ptr = psGrpFind (buf)) != NULL) {
+			if (strcmp(ptr->spooldir, my_spooldir) != 0) {
+				free(ptr->spooldir);
+				ptr->spooldir = my_strdup(my_spooldir);
+			}
+			ptr->xmax = max;
+			ptr->xmin = min;
+
+			continue;
+		}
+
+		/*
 		 * Load mailgroup into group hash table
 		 */
 		if ((ptr = psGrpAdd (buf)) == NULL)
