Grr. I don't use Ecommerce so it doesn't affect me, but the code
above looks like an example of the wrong way to fix things. Yes,
defaulting to using ns_sendmail is probably best, because it will work
anywhere AOLserver will, but there's presumably a reason that
the qmail specific code was in there in the first place: ns_sendmail
is unacceptably slow when sending very large quantities of email.
Whoever switched the code to ns_sendmail could have at least left the
existing qmail support in there but commented out.