I recently have set up mail server using qmail guide on gentoo.org page. IMAP&POP3 works smoothly while when I try to send an email using SMTP my client reports this: Connection to host broken (last commands sent were: "EHLO [84.237. 128.183]", "MAIL FROM: <support@mymailserver.com> SIZE=530"). Email client is set to STARTTLS port 25 with secure authentication. It seems it can connect and get certificate but further it does not work. Reproducible: Always Steps to Reproduce: 1. Follow all steps in guide 2. Try to send an email Actual Results: Connection to host broken (last commands sent were: "EHLO [84.237.128.183]", "MAIL FROM: <support@mymailserver.com> SIZE=530"). Expected Results: Sent email to requested host. I have installed all necessary packages.
I looked through client's log and found this, seems problems with auth mechanism, now what? 2005.09.27., 20:03:27: SEND - sending mail messages - 1 messages in queue 2005.09.27., 20:03:27: SEND - Initiating TLS handshake >2005.09.27., 20:03:27: SEND - Certificate S/N: 8A94E7371EE09A33, algorithm: RSA (1024 bits), issued from 26 Sep 2005 to 26 Sep 2006, for 1 host(s): intellitek.selfip.biz. >2005.09.27., 20:03:27: SEND - Owner: LV, Latvia, Yelgava, Intellitek solutions, Qmail SMTP SSL key, intellitek.selfip.biz, support@intellitek.selfip. biz. >2005.09.27., 20:03:27: SEND - This certificate is self-issued. 2005.09.27., 20:03:27: SEND - TLS handshake complete 2005.09.27., 20:03:27: SEND - connected to SMTP server 2005.09.27., 20:03:27: SEND - authenticating (software CRAM-MD5)... !2005.09.27., 20:03:27: SEND - TLS protocol error: Unexpected message. 2005.09.27., 20:03:27: SEND - Server reports error. The response is: 2005.09.27., 20:03:27: SEND - WARNING: there were no compatible authentication mechanisms detected 2005.09.27., 20:03:27: SEND - sending message to seergio@inbox.lv !2005.09.27., 20:03:27: FETCH - Connection to host broken (last commands sent were: "EHLO [84.237.128.183]", "MAIL FROM:<support@intellitek.selfip.biz> SIZE=552") !2005.09.27., 20:03:27: FETCH - Connection to host broken (last commands sent were: "EHLO [84.237.128.183]", "MAIL FROM:<support@intellitek.selfip.biz> SIZE=552") 2005.09.27., 20:03:27: SEND - connection finished - 0 messages sent 2005.09.27., 20:03:27: SEND - Some messages were not sent - check the log for details
*** Bug 107411 has been marked as a duplicate of this bug. ***
*** Bug 107412 has been marked as a duplicate of this bug. ***
with qmail-1.03-r16 i can't send mail : this is /var/log/qmail/qmail-send/current delivery 2: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ i didn't change anything from 1.03-r15 downgrade to r15 it's working fine emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imlib jpeg libg++ libwww mad mail maildir mikmod mmx mmx2 motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime quotas readline samba sdl spamassassin spell sse sse2 ssl tcpd tiff type1-fonts udev vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Please give the *uneditted* output of qmail-showctl.
Created attachment 72049 [details] qmail-showctl output that's from r15 upgrading to r16 i didn't change anything
Created attachment 72339 [details] 1.03-r16 qmail-showctl
please reopen if this is still an issue with your current qmail setup