**** This delta invalidates previous configuration files ****
SCCS-mr: usr.sbin/sendmail/src/main.c 152
SCCS-mr: usr.sbin/sendmail/src/sendmail.h 152
SCCS-vsn: usr.sbin/sendmail/src/main.c 3.151
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 3.111
# include "sendmail.h"
# include <sys/file.h>
# include "sendmail.h"
# include <sys/file.h>
-SCCSID(@(#)main.c 3.150 %G%);
+SCCSID(@(#)main.c 3.151 %G%);
/*
** SENDMAIL -- Post mail to a set of destinations.
/*
** SENDMAIL -- Post mail to a set of destinations.
- printf("mailer %d: %s %s %lo %d %d\n", i, m->m_name,
- m->m_mailer, m->m_flags, m->m_s_rwset, m->m_r_rwset);
+ printf("mailer %d (%s): P=%s F=%lo S=%d R=%d E=", i,
+ m->m_name, m->m_mailer, m->m_flags, m->m_s_rwset,
+ m->m_r_rwset);
+ xputs(m->m_eol);
+ printf("\n");
# ifdef _DEFINE
# define EXTERN
# ifndef lint
# ifdef _DEFINE
# define EXTERN
# ifndef lint
-static char SmailSccsId[] = "@(#)sendmail.h 3.110 %G%";
+static char SmailSccsId[] = "@(#)sendmail.h 3.111 %G%";
# endif lint
# else _DEFINE
# define EXTERN extern
# endif lint
# else _DEFINE
# define EXTERN extern
char **m_argv; /* template argument vector */
short m_s_rwset; /* rewriting set for sender addresses */
short m_r_rwset; /* rewriting set for recipient addresses */
char **m_argv; /* template argument vector */
short m_s_rwset; /* rewriting set for sender addresses */
short m_r_rwset; /* rewriting set for recipient addresses */
+ char *m_eol; /* end of line string */
};
typedef struct mailer MAILER;
};
typedef struct mailer MAILER;
# define M_EXPENSIVE 000200000L /* it costs to use this mailer.... */
# define M_LIMITS 000400000L /* must enforce SMTP line limits */
# define M_INTERNAL 001000000L /* SMTP to another sendmail site */
# define M_EXPENSIVE 000200000L /* it costs to use this mailer.... */
# define M_LIMITS 000400000L /* must enforce SMTP line limits */
# define M_INTERNAL 001000000L /* SMTP to another sendmail site */
-# define M_CRLF 002000000L /* use CRLF instead of NL as EOLine */
# define M_FROMPATH 004000000L /* use reverse-path in MAIL FROM: */
# define M_XDOT 010000000L /* use hidden-dot algorithm */
# define M_FROMPATH 004000000L /* use reverse-path in MAIL FROM: */
# define M_XDOT 010000000L /* use hidden-dot algorithm */
/* set exit status */
# define setstat(s) { if (ExitStat == EX_OK) ExitStat = s; }
/* set exit status */
# define setstat(s) { if (ExitStat == EX_OK) ExitStat = s; }
-/* line terminator appropriate for a given mailer */
-# define crlf(m) (bitset(M_CRLF, (m)->m_flags) ? "\r\n" : "\n")
-
/* make a copy of a string */
# define newstr(s) strcpy(xalloc(strlen(s) + 1), s)
/* make a copy of a string */
# define newstr(s) strcpy(xalloc(strlen(s) + 1), s)