Comment 8 for bug 1835968

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I got the testcase (and forwarded to xnox/bryce as it is only to be shared confidently)

I got a auth error at first and modified it to use a local server that one could spawn in a container. But I still fail at:
/usr/lib/ruby/2.5.0/net/smtp.rb:539:in `initialize': no implicit conversion of Hash into String (TypeError)

Usage (so far):
$ apt install ruby-roadie ruby
$ apt install postfix
  (follow [1] as you need TLS for smtp)

sasl uses pam here, so have a user ubuntu:ubuntu for the test.

Then run:
./testcase-ruby-ssl.rb

[1]: https://help.ubuntu.com/community/Postfix