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 method was removed in Net-DNS-0.69, which was released on
December 5.  I changed that line to

        Net::DNS::Header::id();

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.

Walt

Reply via email to