A new version of Swaks is available for download. This is primarily a bugfix release.
Downloads:
- Project Page: https://jetmore.org/john/code/swaks/
- v20190914.0 distribution: https://jetmore.org/john/code/swaks/files/swaks-20190914.0.tar.gz
- v20190914.0 script only: https://jetmore.org/john/code/swaks/files/swaks-20190914.0/swaks
- v20190914.0 reference: https://jetmore.org/john/code/swaks/files/swaks-20190914.0/doc/ref.txt
- v20190914.0 changelog: https://jetmore.org/john/code/swaks/files/swaks-20190914.0/doc/Changes.txt
New Features:
- Source is now available on github.com/jetmore/swaks
- Added –body-attach option to allow more granularity in setting body information
- Added ‘data’ and ‘dot’ as valid –drop-after-send and –drop-after arguments
- Added %NEWLINE% as a new –data token
Notable Changes:
- Options provided via environment variable are now sorted before processing to provide a deterministic processing order
- Option bundling is no longer enabled. This fixes several option processing oddities, like “-foobar” being interpretted as “-f oobar”
- If the arg to –data looks like a file but is not openable, error and exit instead of using it the file name as the raw data value
- Remove interactive prompts for –helo and –from when hostname cannot be determined internally, just error and exit instead. If the user was not expecting an interactive experience, don’t start one
- Remove re-prompting for port when an invalid service name was supplied, just error and exit instead. If the user was not expecting an interactive experience, don’t start one
Notable Bugs Fixed:
- Handle malformed headers more gracefully in header replacement
- Fix bug causing the processing of options prefixed with the negating “no-” to work unreliably
- –version and –help should work even if they aren’t the very first option
- -S is now a distinct option from -s, as documented
- Fix bug preventing the –option=arg option format from being unusable with –header and –attach* options