mailer
mailfile(filename, mailer, ctladdr, sfflags, e)
MAILER *volatile mailer;
if (mailer == NULL)
mailer = FileMailer;
bitnset(M_7BITS, mailer->m_flags) &&
else if (mailer->m_rootdir != NULL)
expand(mailer->m_rootdir, targetfile, sizeof(targetfile), e);
if (bitnset(M_SPECIFIC_UID, mailer->m_flags))
if (mailer->m_uid == NO_UID)
RealUid = mailer->m_uid;
else if (mailer != NULL && mailer->m_uid != NO_UID)
RealUid = mailer->m_uid;
if (bitnset(M_SPECIFIC_UID, mailer->m_flags))
if (mailer->m_gid == NO_GID)
RealGid = mailer->m_gid;
else if (mailer != NULL && mailer->m_gid != NO_GID)
RealGid = mailer->m_gid;
if (mailer->m_execdir != NULL)
for (p = mailer->m_execdir; p != NULL; p = q)
mcibuf.mci_mailer = mailer;
if (bitnset(M_7BITS, mailer->m_flags))
bitnset(M_7BITS, mailer->m_flags))
if (bitnset(M_MAKE8BIT, mailer->m_flags) &&
syserr("mailfile: %s: wait", mailer->m_name);
mailer->m_name, st);
parse_hostsignature(sig, mxhosts, mailer)
MAILER *mailer;
if (mci_match(hp, mailer))
struct mailer **mp;
register struct mailer *m;
struct mailer *m;
register struct mailer *m;
m = (struct mailer *) xalloc(sizeof(*m));
register struct mailer *m;
typedef struct mailer MAILER;
struct mailer *q_mailer; /* mailer to use */
struct mailer *mci_mailer; /* ptr to the mailer for this conn */
char *mailer = NULL;
mailer = mci->mci_mailer->m_name;
mailer == NULL ? "" : " ",
mailer == NULL ? "" : mailer,