Simon Horman a écrit :
On Wed, Dec 23, 2009 at 12:05:54PM +0100, Dominique Marant wrote:
  
By setting VANESSA_LOGGER_ERR_SLEEP to 0, the POP3 TLS is working fine.

  perdition_types.h:/* #define VANESSA_LOGGER_ERR_SLEEP 3  modif cri
lille1 dec 2009 */
  perdition_types.h:#define VANESSA_LOGGER_ERR_SLEEP 0
    

Hi,

could you describe a little what the problem was when 3 was in effect?
  

When I configure the POP client with TLS (for example in my Thunderbird), I have to wait exactly 3 secondes to have the new mail when I do the retrieve mail.

The log show this waiting :
Dec 22 15:54:07 logua2 perdition[23793]: SELF:   "+OK Begin TLS negotiation, mate\r\n"
Dec 22 15:54:07 logua2 perdition[23793]: SSL connection using AES256-SHA
Dec 22 15:54:07 logua2 perdition[23793]: CLIENT: "AUTH\r\n"
Dec 22 15:54:10 logua2 perdition[23793]: SELF:   "-ERR Mate, the command must be one of CAPA, USER, PASS or QUIT\r\n"
Dec 22 15:54:10 logua2 perdition[23793]: CLIENT: "CAPA\r\n"

When I set : #define VANESSA_LOGGER_ERR_SLEEP 0
I get the mail immediatly, without waiting, when I retrieve the mail.

Merry Christmas.

Dominique