Thanks George, that probably explains it as I haven't upgraded my OS in over a year so the problem may have shown up some time ago.

Gary

On 8/10/2010 10:28 AM, George Varagas wrote:
  Yes the cert could be a problem. And I too have had an issue with
openssl. It was a few months ago though.
George

On 8/10/2010 8:22 AM, Gary Bowling wrote:
Thanks Eric, I may have found the problem, although it has been a bit
intermittent so I've not completely declared victory yet. I
re-generated my cert for the server and that seems to have resolved
it. I wonder if there is something in the new version of openssl as
that was installed in the upgrade.

Here's all I got when I did a telnet to localhost.

qmail]# telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
421 unable to read controls (#4.3.0)
Connection closed by foreign host.

Thanks

Gary

On 8/10/2010 10:13 AM, Eric Shubert wrote:
Gary Bowling wrote:
I just updated my OS to the latest version of Centos 5.5 and now I
can't send email. I am getting the error

an error occurred sending mail: the mail server sent an incorrect
greeting: unable to read controls (#4.3.0)

Then I get

The message could not be sent because the connection to SMTP server
mail.gbco.us was lost in the middle of the transaction.

Oddly enough, I can't really find any errors in the qmail logs. I
thought it was a permissions error in /var/qmail/control but can't
find anything there, here's a list of the permissions.

drwxr-xr-x 12 root     qmail 4096 Jul 19 11:33 ..
-rw-r--r--  1 vpopmail qmail   32 Jul 19 11:31 badloadertypes
-rw-r--r--  1 root     root  2048 Aug 10 09:25 badloadertypes.cdb
-rw-r--r--  1 vpopmail qmail   25 Jul 19 11:31 badmailfrom
-rw-r--r--  1 vpopmail qmail   29 Jul 19 11:31 badmailto
-rw-r--r--  1 vpopmail qmail  360 Jul 19 11:31 badmimetypes
-rw-r--r--  1 root     root  2048 Aug 10 09:25 badmimetypes.cdb
-rw-r--r--  1 vpopmail qmail   20 Jul 19 11:31 blacklists
drwxr-xr-x  2 vpopmail qmail 4096 Jul 19 11:18 certs
drwxr-xr-x  2 vpopmail qmail 4096 Sep 11  2009 certtemp
lrwxrwxrwx  1 root     qmail   14 Jul 19 11:33 clientcert.pem ->
servercert.pem
-rw-r--r--  1 vpopmail qmail    3 Apr 24  2008 concurrencyincoming
-rw-r--r--  1 vpopmail qmail    3 Oct  6  2005 concurrencylocal
-rw-r--r--  1 vpopmail qmail    3 Oct  6  2005 concurrencyremote
-rw-r--r--  1 vpopmail qmail    9 Jul 19 11:31 databytes
-rw-r--r--  1 vpopmail qmail   11 Jun  7  2007 defaultdelivery
-rw-r--r--  1 vpopmail qmail    8 Jun  7  2007 defaultdomain
-rw-r--r--  1 vpopmail qmail    1 Jul 17  2009 defaulthost
-rw-r--r--  1 vpopmail qmail  245 Aug 10 01:01 dh1024.pem
-rw-r--r--  1 vpopmail qmail  156 Aug 10 01:01 dh512.pem
drwxr-xr-x 21 root     qmail 4096 Jul 19 11:31 domainkeys
-rw-r--r--  1 vpopmail qmail  887 Sep 20  2006 key
-rw-r--r--  1 vpopmail qmail  963 Sep 20  2006 key.enc
-rw-r--r--  1 vpopmail qmail   13 Jul 26 06:34 locals
-rw-------  1 vpopmail qmail    0 Jan 19  2007 locals.lock
-rw-r--r--  1 vpopmail qmail    3 Jul 28  2009 logcount
-rw-r--r--  1 vpopmail qmail    8 Jul 19 11:31 logsize
-rw-r--r--  1 vpopmail qmail   13 Aug  3  2009 me
-rw-r--r--  1 vpopmail qmail    2 Apr 21  2006 mfcheck
drwxr-xr-x  2 vpopmail qmail 4096 Sep 19  2008 oldcert
-rw-r--r--  1 vpopmail qmail    8 Jun  7  2007 plusdomain
-rw-r--r--  1 vpopmail qmail    0 Jul 19 11:31 policy
-rw-r--r--  1 vpopmail qmail  187 Oct 18  2005 pop3ds.conf
-rw-r--r--  1 vpopmail qmail    7 Oct  6  2005 queuelifetime
-rw-r--r--  1 vpopmail qmail  646 Jul 26 06:34 rcpthosts
-rw-r--r--  1 vpopmail qmail  437 May  2  2006 rcpthosts.backup
-rw-------  1 vpopmail qmail    0 Jan 19  2007 rcpthosts.lock
-rw-r--r--  1 vpopmail qmail  497 Aug 10 01:01 rsa512.pem
-rw-r-----  1 vpopmail qmail  497 Sep 20  2006 rsa512.pem.old
-rw-r--r--  1 vpopmail qmail  908 Aug  1  2009 servercert.crt
-rw-r--r--  1 vpopmail qmail  680 Aug  1  2009 servercert.csr
-rw-r--r--  1 vpopmail qmail  891 Aug  1  2009 servercert.key
-rw-r--r--  1 vpopmail qmail  963 Aug  1  2009 servercert.key.enc
-rw-r--r--  1 vpopmail qmail 1799 Aug  1  2009 servercert.pem
-rw-r-----  1 vpopmail qmail 2359 Feb  2  2009 servercert.pem.old
-rw-r--r--  1 root     qmail 1689 Nov 29  2009 servercert.pem.rpmnew
-rw-r--r--  1 clamav   root    59 Sep 11  2009 simcontrol
-rw-r--r--  1 root     root  2129 Aug 10 09:25 simcontrol.cdb
-rw-r--r--  1 vpopmail qmail   82 Apr 25  2008 simcontrol-old
-rw-r--r--  1 vpopmail qmail  250 Jul 20  2009
simmcontrol.internap-server
-rw-r--r--  1 root     root  2165 Aug 10 09:25 simversions.cdb
-rw-r--r--  1 vpopmail qmail   14 Aug  2  2009 smtpgreeting
-rw-r--r--  1 vpopmail qmail    0 Jul 19 11:31 smtproutes
-rw-r--r--  1 vpopmail qmail    2 Jul 19 11:31 spfbehavior
-rw-r--r--  1 vpopmail qmail  247 Aug  3  2009 temp
lrwxrwxrwx  1 root     root    35 Jul 19 11:33 tlsclientciphers ->
/var/qmail/control/tlsserverciphers
-rw-r--r--  1 vpopmail qmail  600 Jul 19 11:33 tlsserverciphers
-rw-r--r--  1 vpopmail qmail 1148 Jul 26 06:34 virtualdomains
-rw-------  1 vpopmail qmail    0 Jan 19  2007 virtualdomains.lock

I thought it might be a spamdyke problem, so I disabled that, but no
luck.

Then I disabled starttls in my client send and it's working now.
However, I really don't want to send email unencrypted.

Any help would be greatly appreciated.

Thanks, Gary

---------------------------------------------------------------------------------


You've narrowed it down to an apparent TLS problem.

I'm curious to know what about the greeting is incorrect. Have you
tried using telnet to see what the server is saying?

Port 25 or 587?

---------------------------------------------------------------------------------

Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and
installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------

     Please visit qmailtoaster.com for the latest news, updates, and
packages.
          To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
     Vickers Consulting Group offers Qmailtoaster support and installations.
       If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
      Please visit qmailtoaster.com for the latest news, updates, and packages.

       To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
      For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to