Matty9191 / ssl-cert-check

Send notifications when SSL certificates are about to expire.
GNU General Public License v2.0
721 stars 286 forks source link

Add option to specify SMTP for mail #46

Closed rptmat57 closed 5 years ago

rptmat57 commented 5 years ago

It would be nice to add the "-S" option of mailx to be able to choose the smtp to send the email for instance -S smtp=smtp://smtp.ust.hk

Matty9191 commented 5 years ago

I'm reluctant to add any additional mail processing logic to the script. You should be able to add site specific configuration options to your .mailrc. That seems like a better place for this.