On Tue, 3 Sep 2002, N. Pari Purna Chand wrote:

> As Davidie suggested I have implemented SMTP in PHP.
> It's working fine, but today morning when our people
> were sending attachments using the SMTP, a 1mb attachment
> to a localaddress is taking almost 12 to 15 seconds and if
> the $to is a remote address then php is simply timing out,
> So temporarily I have solved this by making the php scripts
> run for ever, But everytime a person is sending an attachment
> he has to sit before the machine for at least 3 to 5 minutes,
> yeah, we are still on 64 Kbps - India :-)
>
> Now, I want suggestions from u people,regarding,
> If somebody wants to implement a webbased
> interface on a xmail machine and wants to have everything
> working, what is the way ?
>
> Here's the problem in a more precise manner,
>
> 1. Using xmail's sendmail in php is a good option by
>    Mailinglists and quotas are not working (as they shud)
>   Advantage: speed, all mails big or small, will be delivered by xmail's
> sendmail
>                       so webpages will be generated immediately.
>
> 2. If SMTP is implemented in PHP then It's a
>    laborious and slow process, ie finding out the MX entry of
>    the $to address from it's DNS server, running a php script
>    as long as entire communication takes place etc.
>    Advantage : DeliveryStatus of mail can be known in realtime.
>
> By the way, Is it possible to run other MTA for sendingmails
> on the same machine as xmail,
> If yes,any help/pointers wud be very greateful.

no, no. you have to use the XMail machine as SMTP relay server. You do not
have to let PHP to find the MX and connect to the remote SMTP server
directly.




- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to