Print this page
5166 sendmail package should be replaceable

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/aux/mailq.c
          +++ new/usr/src/cmd/sendmail/aux/mailq.c
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  #include <stdio.h>
  28   28  #include <stdlib.h>
  29   29  #include <auth_attr.h>
  30   30  #include <secdb.h>
  31   31  #include <pwd.h>
  32   32  #include <unistd.h>
  33   33  #include <sysexits.h>
  34   34  #include <errno.h>
  35   35  #include <auth_list.h>
  36   36  
  37      -#define _PATH_SENDMAIL_BIN      "/usr/lib/sendmail"
       37 +#define _PATH_SENDMAIL_BIN      "/usr/lib/smtp/sendmail/sendmail"
  38   38  
  39   39  int
  40   40  main(int argc, char *argv[], char *envp[])
  41   41  {
  42   42          struct passwd *pw = getpwuid(getuid());
  43   43          char **newargv;
  44   44          int j;
  45   45  
  46   46          if (pw && chkauthattr(MAILQ_AUTH, pw->pw_name)) {
  47   47                  /* The extra 2 is 1 for the "-bp" + 1 for the terminator. */
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX