Sorry if this is a little off topic.

I am trying to speed up my outbound mail.  I am running a set of ezines and
we are currently sending around 3 million emails per day.  Currently I have
a process that envokes qmail-inject for each message.  I am thinking of
doing a first attempt delivery inside my program and only if that fails,
hand it off to qmail-inject.

My intent is to create a master process that will set everything up and then
fork off serveral hundred children to chew on the list.  I am hoping that my
process can handle 90% or more of the messages with no disk accesses and no
additional processes.

My problem is doing the DNS lookups.  I have not found any good
documentation on the process at the 'C' level.  I have stared at
qmail-1.03/dns.c for a couple hours now.  This code is rather sparse on
comments.

Can anybody point me to some online or in print sources of information on
the subject.  I am in particular looking for documented examples of the
res_query, res_search, snf dn_expand functions and the related data
structures.

Bryan White
You can't deny that it is not impossible, can you.

Reply via email to