Hello all,

I'm setting up a mail server that needs to read messages that are
created on the disk as individual files. This is an example file:

From: Test 123 <t...@localhost>
To: Diego Lima <t...@domain.com>
Content-Type: text/plain; charset=iso-8859-1
MIME-Type: text/plain
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Test Message
.


What is the best way to read those messages? I considered creating a
shellscript that checks the directory for new files and then sends
them using sendmail -t, but that isn't really good performance-wise.
Is there any way I can inject the messages into postfix queue?

Thanks!

-- 
Diego Lima

Reply via email to