Re: [Dovecot] TLS / SSL login with Thunderbird very slow ?

2009-01-24 Thread Matthias Andree
On Sat, 24 Jan 2009, Marko Weber | Salondigital.de wrote:

 Hi ,
 i use dovecoz 1.1.4 with TLS / SSL only.
 i takes up to ~10 seconds that Thunderbird login and send the mail.

send the mail has nothing to do with Dovecot, but with the SMTP
server, such as Exim (which may try ident queries that your client
possibly firewalls) or Postfix.

 why is this so slow?
 any chance to speed up this ?

Figure out what takes so long (Wireshark or tcpdump) - do not only log
Dovecot queries.

-- 
Matthias Andree


Re: [Dovecot] TLS / SSL login with Thunderbird very slow ?

2009-01-24 Thread Giuliano Gavazzi


On S 24 Jan, 2009, at 20:50 , Matthias Andree wrote:


On Sat, 24 Jan 2009, Marko Weber | Salondigital.de wrote:


Hi ,
i use dovecoz 1.1.4 with TLS / SSL only.
i takes up to ~10 seconds that Thunderbird login and send the mail.


send the mail has nothing to do with Dovecot, but with the SMTP
server, such as Exim (which may try ident queries that your client
possibly firewalls) or Postfix.


true, but if Marko's Thunderbird is configured to save sent messages  
on the IMAP server, the sending process will complete, from the client  
point of view, when the message has been stored on the IMAP server. So  
the change in Dovecot might cause a perceived slowdown.
Also, with other IMAP server (no idea if this applies to Dovecot) you  
could even have the sending process start by copying the message in a  
particular outbox without direct interaction between the MUA and the  
SMTP server.

Giuliano


Re: [Dovecot] TLS / SSL login with Thunderbird very slow ?

2009-01-24 Thread mouss
Matthias Andree a écrit :
 On Sat, 24 Jan 2009, Marko Weber | Salondigital.de wrote:
 
 Hi ,
 i use dovecoz 1.1.4 with TLS / SSL only.
 i takes up to ~10 seconds that Thunderbird login and send the mail.
 
 send the mail has nothing to do with Dovecot, but with the SMTP
 server, such as Exim (which may try ident queries that your client
 possibly firewalls) or Postfix.
 

including reverse dns lookup problems.

 why is this so slow?
 any chance to speed up this ?
 
 Figure out what takes so long (Wireshark or tcpdump) - do not only log
 Dovecot queries.
 



Re: [Dovecot] TLS / SSL login with Thunderbird very slow ?

2009-01-24 Thread Charles Marcus
On 1/24/2009 2:58 PM, Giuliano Gavazzi wrote:
 true, but if Marko's Thunderbird is configured to save sent messages on
 the IMAP server, the sending process will complete, from the client
 point of view, when the message has been stored on the IMAP server. So
 the change in Dovecot might cause a perceived slowdown.

He didn't say anything about saving to Sent folder, he said it takes up
to ~10 secs for TBird to LOGIN and send... TBird saves to sent folder
AFTER it send the message.

 Also, with other IMAP server (no idea if this applies to Dovecot) you
 could even have the sending process start by copying the message in a
 particular outbox without direct interaction between the MUA and the
 SMTP server.

This only applies to IMAP servers that have also an SMTP component, like
courier - but these components are separate.

As Matthias said, dovecot is NOT an smtp server and has nothing to do
with the sending process (except for use of dovecot_sasl if it is used)...

This is not a dovecot problem...

-- 

Best regards,

Charles