summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
abae7b2)
EXPN commands for now; they aren't required anyhow. Move the fullname
into the address structure so it can be inherited.
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 3.53
SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 3.34
SCCS-vsn: usr.sbin/sendmail/src/version.c 3.64
SCCS-vsn: usr.sbin/sendmail/src/srvrsmtp.c 3.9
SCCS-vsn: usr.sbin/sendmail/src/recipient.c 3.29
-static char SccsId[] = "@(#)parseaddr.c 3.33.1.1 %G%";
+static char SccsId[] = "@(#)parseaddr.c 3.34 %G%";
/*
** PARSE -- Parse an address
/*
** PARSE -- Parse an address
# include "sendmail.h"
# include <sys/stat.h>
# include "sendmail.h"
# include <sys/stat.h>
-static char SccsId[] = "@(#)recipient.c 3.28.1.1 %G%";
+static char SccsId[] = "@(#)recipient.c 3.29 %G%";
/*
** SENDTO -- Designate a send list.
/*
** SENDTO -- Designate a send list.
if (strcmp(a->q_user, pw->pw_name) != 0)
{
a->q_user = newstr(pw->pw_name);
if (strcmp(a->q_user, pw->pw_name) != 0)
{
a->q_user = newstr(pw->pw_name);
a->q_uid = pw->pw_uid;
a->q_gid = pw->pw_gid;
a->q_flags |= QGOODUID;
a->q_uid = pw->pw_uid;
a->q_gid = pw->pw_gid;
a->q_flags |= QGOODUID;
+ buildfname(pw->pw_gecos, pw->pw_name, nbuf);
+ if (nbuf[0] != '\0')
+ a->q_fullname = newstr(nbuf);
fullname(pw, nbuf);
if (nbuf[0] != '\0')
a->q_fullname = newstr(nbuf);
fullname(pw, nbuf);
if (nbuf[0] != '\0')
a->q_fullname = newstr(nbuf);
# ifdef _DEFINE
# define EXTERN
# ifdef _DEFINE
# define EXTERN
-static char SmailSccsId[] = "@(#)sendmail.h 3.52.1.1 %G%";
+static char SmailSccsId[] = "@(#)sendmail.h 3.53 %G%";
# else _DEFINE
# define EXTERN extern
# endif _DEFINE
# else _DEFINE
# define EXTERN extern
# endif _DEFINE
short q_uid; /* user-id of receiver (if known) */
short q_gid; /* group-id of receiver (if known) */
char *q_home; /* home dir (local mailer only) */
short q_uid; /* user-id of receiver (if known) */
short q_gid; /* group-id of receiver (if known) */
char *q_home; /* home dir (local mailer only) */
+ char *q_fullname; /* full name if known */
char *q_fullname; /* full name of this person */
time_t q_timeout; /* timeout for this address */
struct address *q_next; /* chain */
char *q_fullname; /* full name of this person */
time_t q_timeout; /* timeout for this address */
struct address *q_next; /* chain */
-static char SccsId[] = "@(#)srvrsmtp.c 3.8.1.1 %G%";
+static char SccsId[] = "@(#)srvrsmtp.c 3.9 %G%";
/*
** SMTP -- run the SMTP protocol.
/*
** SMTP -- run the SMTP protocol.
finis();
case CMDVRFY: /* vrfy -- verify address */
finis();
case CMDVRFY: /* vrfy -- verify address */
- a = sendto(p, 1, (ADDRESS *) NULL, QPSEUDO);
- if (Errors == 0)
-static char SccsId[] = "@(#)SendMail version 3.63 of %G%";
+static char SccsId[] = "@(#)SendMail version 3.64 of %G%";
-char Version[] = "3.63 [%G%]";
+char Version[] = "3.64 [%G%]";