ssl-cert-check icon indicating copy to clipboard operation
ssl-cert-check copied to clipboard

Mailx missing the from switch in latest version

Open phases78 opened this issue 3 years ago • 2 comments

Hey all first time poster, I have been using this script a couple years, thank you very much for it. Today I upgraded to the latest version, I was on 3.30. For this latest version, in order to get it to send as the specified from email address, I had to edit the send_mail() function to include the switch: -r "$FROM" ---for mailx

Hope this helps, thank you,

phases78 avatar Sep 01 '21 19:09 phases78

I'm having the same issue here.

steve1515 avatar Jul 15 '22 15:07 steve1515

Hi,

on Ubuntu 22.04 Server is the -r option not working.

As mentioned on https://stackoverflow.com/a/18490580 the -a will also work. Therefor line 398 (on Commit https://github.com/Matty9191/ssl-cert-check/tree/967b93707f53cfdfefd61e074f18348f1f82bab9) will be: echo "$MSG" | "${MAIL}" -a "From: $FROM" -s "$SUBJECT" "$TO" @steve1515 which system u are using? Can u please check this on an not debian based system?

segmueller avatar Feb 03 '23 08:02 segmueller