nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] mts.conf relative sendmail option


From: Cyber
Subject: Re: [nmh-workers] mts.conf relative sendmail option
Date: Wed, 30 May 2018 06:37:01 +0000

>
> And I must note that I don't understand why changing the execv()
> works.  Cyber uses:
>
>   sendmail: sendmail
>
> which is sendmail/smtp.  But the execv() is only used with
> sendmail/pipe.  Cyber, can you show us your post.c diff?

I am using sendmail/pipe. I have
mts: sendmail/pipe
in my configuration.

Here is the patch:

*** nmh-1.7.1/uip/post.c        2018-03-06 19:05:56.000000000 +0000
--- nmh-1.7.1-patched/uip/post.c        2018-05-29 17:20:58.360494237 +0000
***************
*** 1709,1715 ****
                    argp[argc++] = "-v";
                argp[argc] = NULL;
  
!               execv (program, argp);
                adios (sendmail, "can't exec");
  
            default: 
--- 1709,1715 ----
                    argp[argc++] = "-v";
                argp[argc] = NULL;
  
!               execvp (program, argp);
                adios (sendmail, "can't exec");
  
            default: 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]