./mail/swaks, Featureful, flexible, scriptable SMTP test tool

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20240103.0, Package name: swaks-20240103.0, Maintainer: schmonz

swaks' primary design goal is to be a flexible, scriptable, transaction-
oriented SMTP test tool. It handles SMTP features and extensions such as
TLS, authentication, and pipelining; multiple version of the SMTP
protocol including SMTP, ESMTP, and LMTP; and multiple transport methods
including unix-domain sockets, internet-domain sockets, and pipes to
spawned processes. Options can be specified in environment variables,
configuration files, and the command line allowing maximum
configurability and ease of use for operators and scripters.


Required to run:
[lang/perl5] [net/p5-Net-DNS] [security/p5-Authen-SASL]

Master sites:

Filesize: 118.465 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-04 12:28:18 by Amitai Schleier | Files touched by this commit (3) | Package updated
Log message:
swaks: update to 20240103.0. Changes:

New Features:

* Added cc and bcc options
* Numerous TLS debugging and verification improvements
      o Debug output contains whether a client cert was requested and
        whether one was sent
      o Add new options tls-verify-ca and tls-verify-host to
        differentiate between types of certificate verification (tls-
        verify does both)
      o Add tls-target option to allow setting of hostname to be used in
        hostname verification. This is useful in some inet debugging
        situations and required to do hostname verification with socket or
        pipe
      o Add tls-chain (#60, initial implementation by Wolfgang Karall-
        Ahlborn)
      o Add tls-get-peer-chain option (analogous to tls-get-peer-cert,
        #73)
      o Certificate debug now includes all client and peer certs, it a
        chain was used (#73)
      o Certificate debug now includes notAfter, commonName, and
        subjectAltName

Notable Changes:

* output-file, output-file-stderr, and output-file-stdout now truncate
  the specified file if it already exists
* Documentation improvements
* Extensive test harness improvements
* Add new stop-point XCLIENT-HELO to address lack of specificity when
  mixing XCLIENT usage with the HELO stop-point
* Add new stop-point PROXY
* Use IO::Socket::IP by default. Will still use IO::Socket::INET/INET6 to
  cover transition, but this is deprecated and will be removed in the
  future (#43)
* TLS session debug information is now printed even if we decide not to
  continue the session (eg for failed verification)
* Previously-deprecated functionality to allow some options to be either a
  filename or a literal string has been removed. Using the @ sigil is now
  the only was to specify file contents
* Previously-deprecated -g option removed

Notable Bugs Fixed:

* TLS certificate verification did not always work. It should now
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:54:34 by Nia Alarie | Files touched by this commit (356)
Log message:
mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
   2021-10-07 16:25:52 by Nia Alarie | Files touched by this commit (357)
Log message:
mail: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-10-17 10:36:26 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 20201014.0. From the changelog:

Notable bugs fixed:
- Last release introduced a bug where Date: headers were localized,
  which is against RFC. Further, that localization then broke character
  rendering in some locales. A new fix for the original issue (#17) was
  put in place, which no longer localizes the Date: header and fixes the
  newly introduced rendering issue (#25)
- Last release introduced a bug which prevented –protect-prompt from
  working. This is now fixed (#26)
   2020-10-13 12:04:31 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 20201010.0. From the changelog:

New features:
- Added .netrc support
- Added –tls-sni option
- Swaks is now available on CPAN as App::swaks
- Swaks will now print errors if deprecated functionality is used

Notable changes:
- Automatic file detection is deprecated. Previously, if an argument
  to –data, –body, –attach-body, and –attach resolved to an
  openable file, the contents of that file would be used as the actual
  argument. Now the proper way to do this is to place '@' in front
  of the argument to state explicitly that the argument contents are
  in a file.
- If any of the –xclient-* family of options (–xclient-name,
  –xclient-addr, etc) is provided more than once, only the last option
  provided will be used. See –xclient option if you need to simulate
  the previous behavior
- -g option is now deprecated
- Time::Local is no longer used and POSIX is now listed as a
  required module

Notable bugs fixed:
- Fix for subtle issue related to environment variable options. Affected
  error handling for options which required args.
- Fix issue preventing XCLIENT and STARTTLS from working together
  properly (#21)
- Fix issue which could cause generated date header to oscillate on the
  day of DST transition (#17, deb bug 955798)
   2020-09-04 15:53:37 by Thomas Klausner | Files touched by this commit (2)
Log message:
*: remove p5-Time-Local, part of perl