Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2025 18:50:31 +0100 (CET)
From:      freebsd@oldach.net (Helge Oldach)
To:        000.fbsd@quip.cz (Miroslav Lachman)
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Incompatibility between Sendmail and DMA
Message-ID:  <202501061750.506HoVkZ098737@nuc.oldach.net>
In-Reply-To: <a0f3e866-57b1-4df2-a875-e9bc376b8d62@quip.cz> from Miroslav Lachman at "6 Jan 2025 17:14:47"

next in thread | previous in thread | raw e-mail | index | archive | help
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

Works for me.

Kind regards
Helge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501061750.506HoVkZ098737>