On Wed, 2023-10-18 at 13:56 -0400, Greg Wooledge wrote: [...] > Before stretch, if you had heirloom-mailx installed, both "mail -a file" > and "mailx -a file" worked. After upgrading to stretch, you'd have an > s-nail program, but *not* a mail or mailx program, so all your scripts > would break. And if you did the obvious thing and installed bsd-mailx > as a replacement, "mailx -a file" would try to add a header named "file" > instead of attaching a file named "file". > > So, after the stretch upgrade, you would either have to change all of > your scripts to use s-nail instead of mailx, or [...]
That brings back memories. I did that and switched to using s-nail by name for scripts that send me status and backup report emails with filtered logs as attachments. -- Tixy