http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5790
------- Additional Comments From [EMAIL PROTECTED] 2008-01-31 11:37 -------
I found out how to increase the udp buffer size and that does fix the problem
with the dnsbl test. The kind people on the Solaris news group pointed me to
the ndd command and the Solaris documentation web site. There are 3 parameters
changed between Solaris 8 and Solaris 10. They are:
udp_xmit_hiwat changed from 8192 to 57344
udp_recv_hiwat changed from 8192 to 57344
udp_max_buf changed from 262144 to 2097152
It is udp_recv_hiwat that is the limiting parameter and changing that fixed
the problem. It can be changed with the command:
ndd -set /dev/udp udp_recv_hiwat 57344
To make this permanent, you have to create a custom startup script with
the ndd command in it.
Note that the manual says:
Note that an application can use setsockopt(3SOCKET) SO_RCVBUF to
change the size for an individual socket. In general, you do not need
to change the default value.
But I expect that SpamAssassin can not do that itself.
As to what to do with this bug, three things come to mind
1) Modify the test to do only the lookups really needed. I expect that many
of the lookups are due the normal action of SpamAssassin when processing
the test messages which contain addresses that are not really part of the
test.
2) Leave the test as it is as it reveals an operating system limitation that
may well interfere with the proper operation of SpamAssassin. Add some
information to the documention (wiki?) about how to fix this on releases
of Solaris older than Solaris 10 (I verified that Solaris 9 has the same
values as Solaris 8).
3) Just close the bug and let the bug be the documentation.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.