Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribió: On Mon, Dec 15, 2008 at 05:53:24PM -0700, Jes?s Manuel Loaiza Vidal wrote: Here is the log with smtpd_tls_loglevel = 4 (with a retry just after the error) and the corresponding pcap file: postfix-2.txt http://www.ich.edu.mx/attachments/postfix-2.txt tcp-2.cap

Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Victor Duchovni
On Tue, Dec 16, 2008 at 12:05:40PM -0700, Jes?s Manuel Loaiza Vidal wrote: Here are the log and pcap file with the patch: Mail log http://www.ich.edu.mx/attachments/postfix-3.txt PCAP file http://www.ich.edu.mx/attachments/tcp-3.cap Thanks, this is very useful, we are much closer to

Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribió: On Tue, Dec 16, 2008 at 12:05:40PM -0700, Jes?s Manuel Loaiza Vidal wrote: Here are the log and pcap file with the patch: Mail log http://www.ich.edu.mx/attachments/postfix-3.txt PCAP file http://www.ich.edu.mx/attachments/tcp-3.cap Thanks, this is very

Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Victor Duchovni
On Tue, Dec 16, 2008 at 02:45:19PM -0700, Jes?s Manuel Loaiza Vidal wrote: We need to log the error detail from the SSL library to see what the library is unhappy about. This sure looks like an SSL library bug, compiler bug or hardware issue. The kernel is no longer suspect for now. In

Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribió: On Tue, Dec 16, 2008 at 02:45:19PM -0700, Jes?s Manuel Loaiza Vidal wrote: We need to log the error detail from the SSL library to see what the library is unhappy about. This sure looks like an SSL library bug, compiler bug or hardware issue. The kernel is no

Re: Weird disconnections after RCPT using TLS

2008-12-16 Thread Jesús Manuel Loaiza Vidal
Jesús Manuel Loaiza Vidal escribió: Jesús Manuel Loaiza Vidal escribió: Victor Duchovni escribió: On Tue, Dec 16, 2008 at 02:45:19PM -0700, Jes?s Manuel Loaiza Vidal wrote: We need to log the error detail from the SSL library to see what the library is unhappy about. This sure looks like

Re: Weird disconnections after RCPT using TLS

2008-12-15 Thread Victor Duchovni
On Mon, Dec 15, 2008 at 01:31:37PM -0700, Jes?s Manuel Loaiza Vidal wrote: Yes, all the verbose logging is just hiding the TLS issues. If you have a TLS transport issue, the problem is a communications problem, and we need to focus primarily on the communications. Try: # The host you

Re: Weird disconnections after RCPT using TLS

2008-12-15 Thread Victor Duchovni
On Mon, Dec 15, 2008 at 05:28:45PM -0500, Victor Duchovni wrote: I am sorry, please provide *corresponding* logs and PCAP files, one of each for a successful delivery and an unsuccessful one. The logs must include the clear-text of all client server SMTP interactions. You can drop the

Re: Weird disconnections after RCPT using TLS

2008-12-15 Thread Victor Duchovni
On Mon, Dec 15, 2008 at 05:59:52PM -0500, Victor Duchovni wrote: and the exact corresponding PCAP capture. In the capture you provide: 14:52:49.198960 192.168.10.4.4052 192.168.10.248.587: P 582:635(53) ack 5831 14:52:49.200609 192.168.10.248.587 192.168.10.4.4052: . ack 635

Re: Weird disconnections after RCPT using TLS

2008-12-15 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribió: On Mon, Dec 15, 2008 at 05:59:52PM -0500, Victor Duchovni wrote: and the exact corresponding PCAP capture. In the capture you provide: 14:52:49.198960 192.168.10.4.4052 192.168.10.248.587: P 582:635(53) ack 5831 14:52:49.200609 192.168.10.248.587

Re: Weird disconnections after RCPT using TLS

2008-12-15 Thread Victor Duchovni
On Mon, Dec 15, 2008 at 05:53:24PM -0700, Jes?s Manuel Loaiza Vidal wrote: Here is the log with smtpd_tls_loglevel = 4 (with a retry just after the error) and the corresponding pcap file: postfix-2.txt http://www.ich.edu.mx/attachments/postfix-2.txt tcp-2.cap

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Jesús Manuel Loaiza Vidal
Noel Jones escribió: Jesús Manuel Loaiza Vidal wrote: Hi guys. My system specs: Gentoo Linux Postfix 2.5.5 I have the problem below: When using TLS postfix sometimes (most the times) disconnects the client just after it issues the RCPT command. When I try to re-send the test email

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribi: On Wed, Dec 10, 2008 at 06:04:54PM -0700, Jes?s Manuel Loaiza Vidal wrote: I guess its TLS session related or something related to race conditions. I'm using PostgreSQL and LDAP lookup tables to do user mailbox lookup and various other things

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Victor Duchovni
On Thu, Dec 11, 2008 at 12:47:20PM -0700, Jes?s Manuel Loaiza Vidal wrote: Full log with strace is now in [1]postfix-strace.txt References Visible links 1. http://www.ich.edu.mx/attachments/postfix-strace.txt This is still the old log from Dec 9th. Please post just otherwise

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Jesús Manuel Loaiza Vidal
Jess Manuel Loaiza Vidal escribi: Victor Duchovni escribi: On Wed, Dec 10, 2008 at 06:04:54PM -0700, Jes?s Manuel Loaiza Vidal wrote: I guess its TLS session related or something related to race conditions. I'm using PostgreSQL and LDAP lookup tables to do

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Jesús Manuel Loaiza Vidal
Victor Duchovni escribi: On Thu, Dec 11, 2008 at 12:47:20PM -0700, Jes?s Manuel Loaiza Vidal wrote: Full log with strace is now in [1]postfix-strace.txt References Visible links 1. http://www.ich.edu.mx/attachments/postfix-strace.txt This is still the old

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Victor Duchovni
On Thu, Dec 11, 2008 at 01:25:11PM -0700, Jes?s Manuel Loaiza Vidal wrote: Victor Duchovni escribio: On Thu, Dec 11, 2008 at 12:47:20PM -0700, Jes?s Manuel Loaiza Vidal wrote: Full log with strace is now in [1]postfix-strace.txt References Visible links 1.

Re: Weird disconnections after RCPT using TLS

2008-12-11 Thread Victor Duchovni
On Thu, Dec 11, 2008 at 06:02:34PM -0700, Jes?s Manuel Loaiza Vidal wrote: Please send plain-text email, not HTML. Please post the requested logging and PCAP file, using one of the real clients (not s_client) would be ideal. Normal logging without -v parameter? Yes, all the verbose logging

Weird disconnections after RCPT using TLS

2008-12-10 Thread Jesús Manuel Loaiza Vidal
Hi guys. My system specs: Gentoo Linux Postfix 2.5.5 I have the problem below: When using TLS postfix sometimes (most the times) disconnects the client just after it issues the RCPT command. When I try to re-send the test email just after the error or when not using TLS the problem