SCCS-vsn: usr.sbin/sendmail/src/main.c 3.114
SCCS-vsn: usr.sbin/sendmail/src/version.c 3.203
SCCS-vsn: usr.sbin/sendmail/src/queue.c 3.44
# include "sendmail.h"
# include <sys/stat.h>
# include "sendmail.h"
# include <sys/stat.h>
-SCCSID(@(#)main.c 3.113 %G%);
+SCCSID(@(#)main.c 3.114 %G%);
/*
** SENDMAIL -- Post mail to a set of destinations.
/*
** SENDMAIL -- Post mail to a set of destinations.
else if (Mode == MD_QUEUE)
{
queueup(CurEnv, TRUE);
else if (Mode == MD_QUEUE)
{
queueup(CurEnv, TRUE);
# include <errno.h>
# ifndef QUEUE
# include <errno.h>
# ifndef QUEUE
-SCCSID(@(#)queue.c 3.43 %G% (no queueing));
+SCCSID(@(#)queue.c 3.44 %G% (no queueing));
-SCCSID(@(#)queue.c 3.43 %G%);
+SCCSID(@(#)queue.c 3.44 %G%);
/*
** QUEUEUP -- queue a message up for future transmission.
/*
** QUEUEUP -- queue a message up for future transmission.
# endif DEBUG
if (queueall ? !bitset(QDONTSEND, q->q_flags) :
bitset(QQUEUEUP, q->q_flags))
# endif DEBUG
if (queueall ? !bitset(QDONTSEND, q->q_flags) :
bitset(QQUEUEUP, q->q_flags))
fprintf(tfp, "R%s\n", q->q_paddr);
fprintf(tfp, "R%s\n", q->q_paddr);
}
/* output headers for this message */
}
/* output headers for this message */
(void) expand(h->h_value, buf, &buf[sizeof buf], e);
fprintf(tfp, "%s: %s\n", h->h_field, buf);
}
(void) expand(h->h_value, buf, &buf[sizeof buf], e);
fprintf(tfp, "%s: %s\n", h->h_field, buf);
}
+ else if (bitset(H_FROM|H_RCPT, h->h_flags))
commaize(h, h->h_value, tfp, e->e_oldstyle, NULL);
commaize(h, h->h_value, tfp, e->e_oldstyle, NULL);
+ else
+ fprintf(tfp, "%s: %s\n", h->h_field, h->h_value);
syslog(LOG_DEBUG, "%s: queueup, qf=%s, df=%s\n", e->e_id, qf, e->e_df);
# endif LOG
syslog(LOG_DEBUG, "%s: queueup, qf=%s, df=%s\n", e->e_id, qf, e->e_df);
# endif LOG
- /* disconnect this temp file from the job */
+ /* disconnect this temp file from the job; don't requeue later */
}
\f/*
** RUNQUEUE -- run the jobs in the queue.
}
\f/*
** RUNQUEUE -- run the jobs in the queue.
-static char SccsId[] = "@(#)SendMail version 3.202 of %G%";
+static char SccsId[] = "@(#)SendMail version 3.203 of %G%";
-char Version[] = "3.202 [%G%]";
+char Version[] = "3.203 [%G%]";