On 2012-12-27 14:26:28 -0500, Walt Mankowski wrote:
> I just restarted qpsmtpd after a reboot and it was no longer receiving
> mail. In my logs I saw messages that said
>
> method Net::DNS::Header::nextid undefined at ./qpsmtpd-forkserver line
> 288.
>
> The problem is in this block of code:
>
> # all children should have different seeds, to prevent conflicts
> srand();
> for (0 .. rand(65536)) {
> Net::DNS::Header::nextid();
> }
[...]
> That fixed my immediate problem, but since I don't really understand
> what that block is trying to do, I don't know if it introduces any
> other problems.
That block was a crude workaround for a bug in Net::DNS. IIRC it has
been fixed a long time ago, so it should be safe to remove that block
completely. I'd have to check the code of Net::DNS to be sure, though.
hp
--
_ | Peter J. Holzer | Der eigene Verstand bleibt gefühlt messer-
|_|_) | Sysadmin WSR | scharf. Aber die restliche Welt blickt's
| | | [email protected] | immer weniger.
__/ | http://www.hjp.at/ | -- Matthias Kohrs in desd
signature.asc
Description: Digital signature
