jetmore / swaks

Swaks - Swiss Army Knife for SMTP
http://jetmore.org/john/code/swaks/
GNU General Public License v2.0
847 stars 86 forks source link

Automate verification of files provided as args #65

Open jetmore opened 7 months ago

jetmore commented 7 months ago

If we know a file must be an argument, error during option processing if it's not a readable file. We have this with OP_FROM_FILE for files that we open and process ourselves, but there are other files we don't open during argument processing (for instance --tls-key/--tls-cert/--tls-chain)