Message258971
smtpd.PureProxy(localaddr="host1", remoteaddr="host2")
...produces the error:
[...] smtpd.py", line 657, in __init__
gai_results = socket.getaddrinfo(*localaddr, type=socket.SOCK_STREAM)
TypeError: getaddrinfo() got multiple values for argument 'type'
The module only works with:
smtpd.PureProxy(localaddr=("host1", 25), remoteaddr=("host2", 25))
The documentation does not specify the format of the INPUT parameters, only the CLI syntax with hostnames as "host:port" strings.
The underlying library should convert them to tuples or at least the documentation should be completed. |
|
Date |
User |
Action |
Args |
2016-01-26 20:34:38 | lorenzo.ancora | set | recipients:
+ lorenzo.ancora |
2016-01-26 20:34:38 | lorenzo.ancora | set | messageid: <1453840478.59.0.371405366995.issue26209@psf.upfronthosting.co.za> |
2016-01-26 20:34:38 | lorenzo.ancora | link | issue26209 messages |
2016-01-26 20:34:38 | lorenzo.ancora | create | |
|