Hello David, hello Axel,
I had hoped the expected behaviour might have been the error message 😉
Maybe it is the expected behaviour? Following is the output of the last not crashing version 1.13 and the current version in testing 2.2+10~g7ed88a0 with the cli_program fix. Both look quite similar except the previously crashing error message, so this is maybe expected by upstream? Kind regards, Bernhard 1.13-1.2 || 2.2+10~g7ed88a0-5 + const char* cli_program = "nullmailer-smtpd"; || root@debian:~# swaks -t a...@debian.org --pipe 'sendmail -bs' || root@debian:~# swaks -t a...@debian.org --pipe 'sendmail -bs' === Trying pipe to sendmail -bs... || === Trying pipe to sendmail -bs... === Connected to sendmail -bs. || === Connected to sendmail -bs. <- 220 nullmailer-smtpd ready || <- 220 nullmailer-smtpd ready -> EHLO debian || -> EHLO debian <- 250 2.3.0 OK || <- 250 2.3.0 OK -> MAIL FROM:<root@debian> || -> MAIL FROM:<root@debian> <- 250 2.1.0 Sender accepted || <- 250 2.1.0 Sender accepted -> RCPT TO:<a...@debian.org> || -> RCPT TO:<a...@debian.org> <- 250 2.1.5 Recipient accepted || <- 250 2.1.5 Recipient accepted -> DATA || -> DATA <- 354 End your message with a period on a line by itself || <- 354 End your message with a period on a line by itself -> Date: Sun, 23 Jun 2024 00:xx:xx +0200 || -> Date: Sun, 23 Jun 2024 00:xx:xx +0200 -> To: a...@debian.org || -> To: a...@debian.org -> From: root@debian || -> From: root@debian -> Subject: test Sun, 23 Jun 2024 00:xx:xx +0200 || -> Subject: test Sun, 23 Jun 2024 00:xx:xx +0200 -> Message-Id: <2024062300xxxx.0xxxxx@debian> || -> Message-Id: <2024062300xxxx.0xxxxx@debian> -> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/ || -> X-Mailer: swaks v20240103.0 jetmore.org/john/code/swaks/ -> || -> -> This is a test mailing || -> This is a test mailing -> || -> || -> -> . || -> . || nullmailer-smtpd: Error catching the return value from nullmailer-queue: No child processes || nullmailer-smtpd: Error catching the return value from nullmailer-queue: No child processes <** 451 4.3.0 Error checking return status from nullmailer-queue || <** 451 4.3.0 Error returned from nullmailer-queue -> QUIT || -> QUIT <- 221 2.0.0 Good bye || <- 221 2.0.0 Good bye === Connection closed with child process. || === Connection closed with child process. root@debian:~# || root@debian:~#