Hi all,

I'm using xmail as MTA for my office,
We have around 2200 employees,
so mailquotas and closed mailing
lists are a must.

The whole thing was good until we used
our mailclients for sending/receiving mails.
but recently we found that it's becoming really difficult
without having a webbased interface for email.
I installed courierimap successfully and
wrote a webbased interface for accesing/sending mails
in PHP.


I have successfully writen the whole application
with out any problem. But yesterday while creating
a mailinglist using xmail I've found out that
the xmail's sendmail cannot be used by php for
sending mails because It is bypassing mailquotas and
evensending mails to closed mailing lists on the localhost.

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.

/chandu

-
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