Diego Lima <li...@diegolima.org> writes:

> 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

> 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?

man mailx(1)

-Dieter

-- 
Dieter Klünter | Systemberatung
sip: 7770...@sipgate.de 
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6

Reply via email to