don't alias \-quoted addresses
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 16 Jun 1995 10:06:41 +0000 (02:06 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 16 Jun 1995 10:06:41 +0000 (02:06 -0800)
SCCS-vsn: usr.sbin/sendmail/src/recipient.c 8.96

usr/src/usr.sbin/sendmail/src/recipient.c

index 1da4ce4..af46314 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)recipient.c        8.95 (Berkeley) %G%";
+static char sccsid[] = "@(#)recipient.c        8.96 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -421,7 +421,8 @@ recipient(a, sendq, aliaslevel, e)
        }
 
        /* try aliasing */
        }
 
        /* try aliasing */
-       if (!bitset(QDONTSEND, a->q_flags) && bitnset(M_ALIASABLE, m->m_flags))
+       if (!quoted && !bitset(QDONTSEND, a->q_flags) &&
+           bitnset(M_ALIASABLE, m->m_flags))
                alias(a, sendq, aliaslevel, e);
 
 # if USERDB
                alias(a, sendq, aliaslevel, e);
 
 # if USERDB