SA Bugzilla – Bug 5109
port scan causes spamd to log noise to syslog
Last modified: 2021-04-12 12:16:09 UTC
A port scan with nmap triggers this junk to be logged, spamd continues along happily: Sep 25 18:38:23 bob spamd[12406]: Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 370. Sep 25 18:38:23 bob spamd[12406]: Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 370. Sep 25 18:38:23 bob spamd[12406]: spamd: error: Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 370. Sep 25 18:38:23 bob spamd[12406]: , continuing at /usr/bin/spamd line 924.
fwiw, the errors are from Socket.pm, so I don't think there's much we can do about it.
Doesn't seem to be a problem anymore.