don't do PostMasterCopy on junk mail
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 27 Aug 1993 02:21:53 +0000 (18:21 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 27 Aug 1993 02:21:53 +0000 (18:21 -0800)
SCCS-vsn: usr.sbin/sendmail/src/envelope.c 8.10

usr/src/usr.sbin/sendmail/src/envelope.c

index cb08baa..6e12b50 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)envelope.c 8.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)envelope.c 8.10 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"
@@ -201,7 +201,7 @@ dropenvelope(e)
        */
 
        if (bitset(EF_PM_NOTIFY, e->e_flags) && PostMasterCopy != NULL &&
        */
 
        if (bitset(EF_PM_NOTIFY, e->e_flags) && PostMasterCopy != NULL &&
-           !bitset(EF_RESPONSE, e->e_flags))
+           !bitset(EF_RESPONSE, e->e_flags) && e->e_class >= 0)
        {
                auto ADDRESS *rlist = NULL;
 
        {
                auto ADDRESS *rlist = NULL;