On 13/06/2020 05:11, Bengt Gördén wrote:
simplest way to send mail from cron
I'd say that the easiest way to send mail from a box without any small helper programs is this:
Adjust for your needs and put in a script and call from cron
cat > /dev/tcp/yourserver.tld/25 <<EOF
Yer what? I recall proposing /dev/inet/{tcp,udp}/domainname/port protocl for a virtual device back when I was beta testing BSD4.1C on a VAX in 1982/3 But when BSD4.2 came out it wasn't there. I recall reading about Bell's Plan 9 ... Now tell me, is this implemented on the Pi? 'Cos it aint on my 5.7 kernel -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org