Date: Mon, 6 Jan 2025 19:26:57 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Juraj Lutter <juraj@lutter.sk>, Helge Oldach <freebsd@oldach.net> Cc: freebsd-stable@freebsd.org Subject: Re: Incompatibility between Sendmail and DMA Message-ID: <334d1c9b-8a04-4140-beea-8121bed7c91f@quip.cz> In-Reply-To: <BA2D3C1F-1D53-455C-B68F-50110D2ECF17@lutter.sk> References: <202501061750.506HoVkZ098737@nuc.oldach.net> <BA2D3C1F-1D53-455C-B68F-50110D2ECF17@lutter.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/01/2025 19:03, Juraj Lutter wrote: > > >> 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. No it does not. sendmail: invalid recipient `mon,mon-sms' Even unquoted recipients delimited by comma on the command line shows the error: # echo check | mail -s "DMA check" mon,mon-sms sendmail: invalid recipient `mon,mon-sms' Kind regards Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?334d1c9b-8a04-4140-beea-8121bed7c91f>