Print this page
5166 sendmail package should be replaceable
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
*** 32,42 ****
#include <unistd.h>
#include <sysexits.h>
#include <errno.h>
#include <auth_list.h>
! #define _PATH_SENDMAIL_BIN "/usr/lib/sendmail"
int
main(int argc, char *argv[], char *envp[])
{
struct passwd *pw = getpwuid(getuid());
--- 32,42 ----
#include <unistd.h>
#include <sysexits.h>
#include <errno.h>
#include <auth_list.h>
! #define _PATH_SENDMAIL_BIN "/usr/lib/smtp/sendmail/sendmail"
int
main(int argc, char *argv[], char *envp[])
{
struct passwd *pw = getpwuid(getuid());