daemonize lookup-domains.pl

I’ve got a machine dedicated to a customer with multiple domains that belongs to this company with Virtualmin Pro.

They have 100s of e-mail accounts and sometimes send messages to all accounts in a single domain.

Unfortunately, this causes lookup-domains.pl to be launched, parsed, and compiled for every e-mail.

The each lookup-domains.pl process consumes over 11MB and when 100s of messages are being processed, the load jumps to 65! SIXTY FIVE and the box becomes unresponsive.

Is there anything that can be done to daemonize lookup-domains.pl? Is it calling the spam / virus code for every e-mail as well? I love perl (python is my fav), but the startup costs just seem overly expensive.

up