Re: Incompatibility between Sendmail and DMA
- Reply: Miroslav Lachman : "Re: Incompatibility between Sendmail and DMA"
- In reply to: deleted: "deleted (X-No-Archive)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 18:03:53 UTC
> On 6 Jan 2025, at 18:50, Helge Oldach <freebsd@oldach.net> wrote: > > Hi, > > Miroslav Lachman wrote on Mon, 06 Jan 2025 17:14:47 +0100 (CET): > On 1/6/25 11:14, Miroslav Lachman wrote: >> After upgrading from 13.3 to 14.2, sending emails from shel lscript, >> which had worked for about 20 years, stopped working. >> >> The code looks like this: >> >> mailto="mon mon-sms" >> subject="DMA check" >> msg="testing of DMA" >> >> echo -e "$msg" | mail -s "$subject" "$mailto" > > Try: > > echo -e "$msg" | mail -s "$subject" $mailto When mail recipients are delimited by a comma (,), it would work independently of quotes. — Juraj Lutter otis@FreeBSD.org