Re: [nmh-workers] sndmail program with parameters?
Thank you Ralph. Sorry for missing that in the docs. -- Eduardo Alvarez ealva...@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
Re: [nmh-workers] sndmail program with parameters?
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
[nmh-workers] sndmail program with parameters?
Hello, list, I use msmtp as my sendmail program, and keep my configuration file in a nonstandard place. I tried including this in mh_profile as follows: 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? Is there a way to pass parameters to the sendmail program? Kind regards, Eduardo alvarez -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers