Re: [exim] can mail be sent by dropping mail files into exim…

Pàgina inicial
Delete this message
Reply to this message
Autor: Zbigniew Szalbot
Data:  
A: exim-users
Assumpte: Re: [exim] can mail be sent by dropping mail files into exim queue
Hello again,

Allow me to give you a little more background as I would like to know if
what I need to achieve is possible with exim.

We have been running Mercury on Windows but due to constantly increasing
load we are thinking of changing to exim. There is only one problem here.
We have a php script which generates files on the hard drive (it queries
the database and writes emails to disk). These files are then copied to
Mercury's queue where they are parsed and sent to the world. I know I
would need to adjust the file format. No problem about that. It will
require changing the php script.

The *.101file format which Mercury parses is a simple plain text file with
the following headers:


> $$mail@???
> RECIPIENT_EMAIL_ADDRESS
>
> Date: 26 May 06 16:39:43
> From: lc-words.com <mail@???>
> Reply-To: mail@???
> To: RECIPIENT_EMAIL_ADDRESS
> Subject: Friday's message: focus
> MIME-Version: 1.0
> Content-Type: multipart/alternative; boundary="simpleBorder"
>
> --simpleBorder
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: quoted-printable


and then goes the body of the message.

Is it possible to have exim recognize such files, convert them to emails
and send to the reciepients?

Thank you very much indeed and sorry to bother you!

Warm regards,

Zbigniew Szalbot

On 25 May 2006 at 19:15, Zbigniew Szalbot wrote:

> Hello,
>
> I have a question about sending mail through exim without using SMTP to
> connect to exim. That is I have a script that generates mail files on a
> disk (currently its format is in accordance with another MTA) and wonder
> if I could still use this script to send emails. The current MTA simply
> parses the files and sends them to end systems.
>
> If exim can send emails which are dumped into its queue, where do I find
> specification of the file format needed for such transaction to work?
>
> Many thanks for your help!
>
> Warm regards,
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ Please use the Wiki with this
> ## list - http://www.exim.org/eximwiki/