Normally to send email from, say, a Perl program, I'll use a Perl module which
basically talks SMTP to the sending mail server. Quite often (in fact, nearly
always) the SMTP server is on the same physical box as the Perl program.
I also use a proprietary mail server called Communigate Pro (which is an
EXCELLENT product BTW) which has a very neat module called the pipe module.
To send messages you write files in RFC822 format and drop them into a
specific directory. The PIPE module scans this directory periodically, and
processes any files it finds with a .sub extension.
This is much more efficient than setting up an SMTP connection - we regularly
use it to send 10s of thousands of messages to a mailing list.
So the question is - is there any way of doing something similar with Postfix?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!