10-28-07 12:21 AM
BM> I'm not sure there are many such libraries, though.
BM> Most Unix applications that need to send mail
BM> simply exec a program like mail, mailx, or sendmail.
That was specifically ruled out as a solution. But I did wonder at
the thinking behind that restriction. I suspect that it is
misguided. I suspect that there is no inherent reason that the
application cannot fork() and execve() a mail submission utility
program; and that the thinking is that it is intended, probably for
security reasons, that the host system should not have a full MTS
installed. In which case, it would be incorrect to entirely rule out
using a submission utility program. There are plenty of ways in which
a system can be set up with a small, secure, MTS, without an SMTP
server, a queue, local delivery, or other such accoutrements, whose
submission utility simply passes all submitted mail straight over to
another system for handling. One could quite easily use "mini-
qmail" (<URL:http://cr.yp.to/qmail/mini.html> ), for example, and have
the normal fork-and-exec-the-submission-utility approach in one's
application.
[ Post a follow-up to this message ]
|