SCCS-vsn: usr.sbin/sendmail/src/recipient.c 8.20
-static char sccsid[] = "@(#)recipient.c 8.19 (Berkeley) %G%";
+static char sccsid[] = "@(#)recipient.c 8.20 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
stripquotes(buf);
/* check for direct mailing to restricted mailers */
stripquotes(buf);
/* check for direct mailing to restricted mailers */
- if (a->q_alias == NULL && m == ProgMailer &&
- !bitset(EF_QUEUERUN, e->e_flags))
+ if (a->q_alias == NULL && m == ProgMailer)
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to programs");
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to programs");
if (m == InclMailer)
{
a->q_flags |= QDONTSEND;
if (m == InclMailer)
{
a->q_flags |= QDONTSEND;
- if (a->q_alias == NULL && !bitset(EF_QUEUERUN, e->e_flags))
+ if (a->q_alias == NULL)
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to :include:s");
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to :include:s");
p = strrchr(buf, '/');
/* check if writable or creatable */
p = strrchr(buf, '/');
/* check if writable or creatable */
- if (a->q_alias == NULL && !bitset(EF_QUEUERUN, e->e_flags))
+ if (a->q_alias == NULL)
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to files");
{
a->q_flags |= QBADADDR;
usrerr("550 Cannot mail directly to files");