I'm playing around with the table-socketmap from extras. I stole a
simple socket server from beej's networking guide and adjusted it
slightly to see what the socketmap would do.
Basically the server just binds to a unix socket and once it gets a
connection it prints the recv()'d buffer to stdout. However, smtpd
gives a warning:
smtpd[65725]: warn: failure to perform a table lookup on table test
smtpd.conf
table test socketmap:/var/run/sockd.sock
accept from source <test> deliver to mbox
sockmap server output:
laptop$ doas ./sockd -d
new connection on socket 4
socket 4 hung up /* after killing smtpd */
So it is connecting, but doesn't appear to actually send anything.
What could be wrong?
Thanks,
Edgar
--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org