RE: Webmail very slow

2001-02-25 Thread Davide Libenzi


On 25-Feb-2001 Edinilson J. Santos wrote:
 Why XMail is too slow when using it with any webmail (IMP, for example)?
 A simple message with a 5 mb attached file tooks 10 or 15 minutos to be
 processed (+- 1 or 2 minutes in sendmail/gnu pop3)

Look, if We were speaking about SMTP, I could say You that XMail is about 60%
faster than sendmail.
But We're speaking about POP3 that is a kind of stupid protocol where there's
nothing to be fast.
If You've tried with the same line conditions, and I think so, I could bet my
brand new car that :

1) You've another POP3 connection open onto the same account
2) Your web mail client try to open multiple connections with the same account

XMail support, and force ( see pop3locks ), one simultaneous connection per
account and what's happening is that before open the new connection it has to
wait that the old one timed out.

Someone else had this kind of problem ?




- Davide




Re: Webmail very slow

2001-02-25 Thread Davide Libenzi


On 25-Feb-2001 Edinilson J. Santos wrote:
 Mr. Davide,
 
 Running XMail in debug mode (--debug -Dm) I see that webmail open 1
 connection (POP3 Connection, not SMTP).
 After that, if there is any e-mail with attachment, browser looks like
 freezed but still connected.
 We are doing some tests with XMail because we want to change our atual
 pop3/smtp system.
 

XMail know nothing about the format of the emails, so it makes no distinction
between MIME and other types of encodings.
How do You send the mail to the mailbox ?
Are You using local mail delivery ?
If this is the case, is the message CRLF line terminated ?
Could You run tcpdump to look at the commands the web interface is trying to
issue to XMail ?




- Davide




Re: Webmail very slow

2001-02-25 Thread Davide Libenzi


On 25-Feb-2001 Edinilson J. Santos wrote:
 
 How do You send the mail to the mailbox ?
 -By Outlook Express 5.5
 
 Are You using local mail delivery ?
 -Yes
 
 If this is the case, is the message CRLF line terminated ?
 -I think that they are being generated by Outlook Express
 
 Could You run tcpdump to look at the commands the web interface is trying to
 issue to XMail ?
 -I Will try to do this and report you asap.
 

You can try this :

1) empty Your mailbox
2) send the new mime message with Outlook
3) run : 

# telnet YOUR-POP3-MACHINE-IP 110
 user YOUR-FULL-EMAIL
 pass YOUR-POP3-PASSWORD
 stat
 retr 1
 dele 1
 quit


And look where timeouts are.
If no timeout happen, it's your web interface responsibility ( try to run
tcpdump ).




- Davide