nmh-workers
[Top] [All Lists]

Re: [nmh-workers] sndmail program with parameters?

2018-05-26 10:44:47
Thank you Ralph. Sorry for missing that in the docs. 

-- 
  Eduardo Alvarez
  ealvarez@fastmail.com

On Sat, May 26, 2018, at 11:42 AM, Ralph Corderoy wrote:
Hi Eduardo,

    send: -mts sendmail/pipe -sendmail "/usr/bin/msmtp -C /path/to/rc"

however, send is interpreting -C as an argument to istself, rather than 
taking
everything between quotes as the argument to -sendmail. Is this expected?

Yes, unfortunately.  mh_profile(5) says

    Shell quoting conventions are not available; each token is separated
    by whitespace.

Is there a way to pass parameters to the sendmail program?

No, you'd normally have a shell-script wrapper, perhaps in your
`mhpath +' directory.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>