RE: ANNOUNCE - indimail-mta (qmail+ucsp-tcp+daemontools with all patches)
"Bill Olson" <[email protected]>
| Newsgroups | gmane.mail.qmail.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have been using John Simpson’s qmail patch for many, many years. For over 10 years to be exact. This is his patch URL and below is my own qmail install: John Simpson’s patch and information can be found here: https://qmail.jms1.net/patches/combined-details.shtml My own qmail 2.0 install can be found here: http://freebsdrocks.net/index.php/documents/17-qmail-2-0 My guide is basically an updated version of the old qmailrocks from 2001 and I have been able to keep it updated. I basically wrote the guide myself after testing the guide hundreds of times. I have always used the setup with secure SSL and never had a use for TLS before until someone started bugging me about it. Apple is the reason I need TLS to work. After over 20+ failed installations with TLS I am starting to think it has something to do with FreeBSD running on amd64. I would rather not move away from FreeBSD because I have so much experience with it. See attached working tls and non-working tls file. The working tls is on i386 and the non-working tls is on amd64. On AMD64 when I capture the log file this is what I see: 016-04-11 10:51:22.939190500 33876 > 220 qmailtest10.nwi.local ESMTP 016-04-11 10:51:22.939861500 33876 < EHLO SAGE2 016-04-11 10:51:22.939909500 33876 > 250-qmailtest10.nwi.local 016-04-11 10:51:22.939911500 33876 > 250-STARTTLS 016-04-11 10:51:22.939913500 33876 > 250-SIZE 0 016-04-11 10:51:22.939914500 33876 > 250-PIPELINING 016-04-11 10:51:22.939921500 33876 > 250 8BITMIME 016-04-11 10:51:22.940528500 33876 < STARTTLS 016-04-11 10:51:22.941518500 33876 > 220 ready for tls It looks like it wants to accept TLS but because of the encryption … I can’t read it. Any thoughts on this? I will not be in the office from April 18th to April 22nd. Bill Olson <mailto:[email protected]> [email protected] Nelson and Wright, Inc. Tel 207-929-8238 Fax 207-929-4278 <http://www.nelsonandwright.com/> http://www.nelsonandwright.com From: Manvendra Bhangui [mailto:[email protected]] Sent: Monday, April 11, 2016 10:17 AM To: Bill Olson <[email protected]> Cc: qmail <[email protected]> Subject: Re: ANNOUNCE - indimail-mta (qmail+ucsp-tcp+daemontools with all patches) On 11 April 2016 at 19:19, Bill Olson <[email protected] <mailto:[email protected]> > wrote: Hello, Can you email me the patched source? I would like to try this on my side but I am running FreeBSD with my own qmail variant. If you want to compile it yourself, download the original qmail-1.03.tar.gz and ucspi-tcp-0.88.tar.gz from cr.yp.to <http://cr.yp.to> and apply the following two patches below https://sourceforge.net/projects/indimail/files/Patches/qmail-1.03.patch.gz https://sourceforge.net/projects/indimail/files/Patches/ucspi-tcp-0.88.patch.gz after applying the patches download the two source (dkim and srs). Compile them before you compile in qmail-1.03 directory https://sourceforge.net/projects/indimail/files/mailpack/mailpack-1.1/libdkim-1.4.tar.gz https://sourceforge.net/projects/indimail/files/mailpack/mailpack-1.1/libsrs2-1.0.18.tar.gz You can take a look at qmail.spec rpm spec file in qmail-1.03 source directory for post installation steps Let me know how it goes. I don't have access to FreeBSD and would like to have a binary package built in case you can help me or give me some directions.
non-working tls.txt
(text/plain, 931 B)
root@qmailtest9:/home/wolson # telnet 192.168.9.228 587 Trying 192.168.9.228... Connected to qmailtest9.NWI.local. Escape character is '^]'. 220 wolson.mooo.com ESMTP ehlo 250-wolson.mooo.com 250-PIPELINING 250 8BITMIME 2016-04-06 13:10:02.334484500 tcpserver: status: 1/30 2016-04-06 13:10:02.334690500 tcpserver: pid 8157 from 192.168.9.7 2016-04-06 13:10:02.335125500 tcpserver: ok 8157 wolson.mooo.com:192.168.9.228:587 sage2.nwi.local:192.168.9.7::59388 016-04-06 13:10:02.336428500 8157 > 220 wolson.mooo.com ESMTP 016-04-06 13:10:02.336818500 8157 < EHLO SAGE2 016-04-06 13:10:02.336902500 8157 > 250-wolson.mooo.com 016-04-06 13:10:02.336907500 8157 > 250-PIPELINING 016-04-06 13:10:02.336908500 8157 > 250 8BITMIME 2016-04-06 13:10:02.337263500 8157 < [EOF] 2016-04-06 13:10:02.337326500 8157 > [EOF] 2016-04-06 13:10:02.337408500 tcpserver: end 8157 status 256 2016-04-06 13:10:02.337409500 tcpserver: status: 0/30
working tls.txt
(text/plain, 5.6 KB)
root@qmailtest7:/home/wolson # telnet 192.168.9.222 587
Trying 192.168.9.222...
Connected to qmailtest7.NWI.local.
Escape character is '^]'.
220 qmailtest7.NWI.local ESMTP
ehlo
250-qmailtest7.NWI.local
250-STARTTLS
250-SIZE 0
250-PIPELINING
250 8BITMIME
2016-04-06 13:51:37.454042500 tcpserver: status: 1/30
2016-04-06 13:51:37.454195500 tcpserver: pid 825 from 192.168.9.7
2016-04-06 13:51:37.454884500 tcpserver: ok 825 qmailtest7.NWI.local:192.168.9.222:587 sage2.nwi.local:192.168.9.7::56757
016-04-06 13:51:37.457801500 825 > 220 qmailtest7.NWI.local ESMTP
016-04-06 13:51:37.458226500 825 < EHLO SAGE2
016-04-06 13:51:37.458304500 825 > 250-qmailtest7.NWI.local
016-04-06 13:51:37.458306500 825 > 250-STARTTLS
016-04-06 13:51:37.458307500 825 > 250-SIZE 0
016-04-06 13:51:37.458344500 825 > 250-PIPELINING
016-04-06 13:51:37.458346500 825 > 250 8BITMIME
016-04-06 13:51:37.458849500 825 < STARTTLS
016-04-06 13:51:37.459891500 825 > 220 ready for tls
2016-04-06 13:51:37.460346500 825 < 62W¦¦¦qnqI¦¦¦kbg¦
4¦(¦'¦¦¦¦¦¦=<5/¦,¦+¦$¦#¦
2016-04-06 13:51:37.460349500 825 < ¦ j@82
2016-04-06 13:51:37.460351500 825 < ¦
2016-04-06 13:51:37.460352500 825 <
#¦¦%¦¦&ws¦4¦=¦¦Q¦¦¦¦o¦6¦¦¦(Kw|'¦¦¦O?¦f¦¦u¦¦5].¦ ¦¦¦¦¦ew¦¦"=¦D¦¦¦$
¦¦G¦Wjv?¦v9¦??wf¦u¦A*¦¦¦¦¦+
2016-04-06 13:51:37.460394500 825 < ¦{¦¦¦¦=¦¦w¦C¦
2016-04-06 13:51:37.460395500 825 < U¦¦{/¦Qz¦?¦
¦2¦i|I¦¦m¦+
2016-04-06 13:51:37.460564500 825 > 51¦Y¦
¦>¦:t¦?¦¦W¦Kb¦o¦@¦l`¦¦¦¦ ¦#
0¦¦1 *¦H¦¦ ¦¦0¦¦0¦_¦ ¦¦¦US9VG0
0 UUS10
U
Uaine10
Buxton1
0
2016-04-06 13:51:37.460567500 825 > U
2016-04-06 13:51:37.460568500 825 >
NWI10U
IT Dept10U
[email protected]+
260403060601Z0¦¦137.460602500 825 > oo.com0
0 UUS10
U
Uaine10
Buxton1
0
2016-04-06 13:51:37.460605500 825 > U
2016-04-06 13:51:37.460606500 825 >
NWI10U
IT Dept10U
¦¦0¦¦¦¦¦d¦V@ N¦¦w¦O¦¦B¦¦¦8¦¦A¦¦t¦¦¦¦¦¦+
2016-04-06 13:51:37.460644500 825 > ¦K¦¦>¦h9¦¦P?+¦¦¦?¦AC&Zv¦¦9¦¦¦x59j?¦¦¦?|¦¦rf_5$¦K¦_s<4¦¦Q¦¦`]L¦Z¦\¦z|¦<.¦¦P0N0U¦?¦?Mwb¦3&¦¦¦mz20U#0¦¦?¦?Mwb¦3&¦¦¦mz20
¦¦@¦¦¦¦b¦@¦¦¦¦
¦N¦¦?;i¦hR¦<MB¦z@>¦¦¦¦?¦?/¦¦¦?hRt@Y¦h+
2016-04-06 13:51:37.460647500 825 > F??¦7k7¦¦?¦Y¦{¦¦m¦¦¦¦¦Hu¦¦<¦h@¦ ¦
¦6¦?¦s¦Q¦¦/j¦¦K
2016-04-06 13:51:37.460649500 825 > d*/S5¦
2016-04-06 13:51:37.460651500 825 > +
PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY2016-04-06 13:51:37.514872500 825 < ¦¦¦,¦R¦Hb¦5¦a.¦¦¦! c¦F¦¦0¦¦'^gb¦¦x¦¦1¦¦o&O¦Y¦¦f¦O¦t¦<
¦¦[¦¦??As?<¦¦8,f¦¦¦5¦hh¦c¦M¦¦¦Y¦?¦G¦=¦9¦
2016-04-06 13:51:37.514875500 825 < 1?"¦vg¦?{?(¦
2016-04-06 13:51:37.514877500 825 < ¦¦¦¦¦<^?w`V¦Q¦|VM¦?
9r|¦]+
2016-04-06 13:51:37.516581500 825 > ¦¦,¦nM¦g¦¦\S]¦?5I<¦j¦=_6t¦Nr¦?¦¦5}hD¦ ¦?¦¦Z¦¦7¦NOc¦¦G¦7ZdbMn¦¦¦(?Nk¦¦¦d&u"*v¦?¦¦¦YF¦
¦¦&¦4¦¦.¦S¦A&f¦¦¦?¦¦¦¦m¦J¦8¦e¦cl¦¦S¦xaE¦¦¦¦¦¦¦(¦¦Q
2016-04-06 13:51:37.516583500 825 > 4y¦3?>?¦¦Q¦¦¦!¦I¦r¦¦42u¦J%m¦$¦+
2016-04-06 13:51:37.517313500 825 < $¦??¦(¦¦_¦\¦¦¦i¦!¦#D?Nn¦¦+
2016-04-06 13:51:37.517395500 825 > ¦¦¦Q
2016-04-06 13:51:37.517397500 825 > 4y¦¦L¦p
¦U>1b)+ -¦¦OX¦FzaVz¦'¦¦l¦L¦H¦¦HC¦=¦A?x#¦¦¦j¦¦ p¦¦9n¦5¦¦]D¦_¦¦¦¦¦-,¦¦¦e¦z¦¦*?¦6"¦¦¦7¦¦s¦¦¦/¦Ue]'q¦¦?
2016-04-06 13:51:37.518158500 825 < $K¦GB\¦¦¦¦¦¦¦¦¦v|¦H¦¦b5¦+
2016-04-06 13:51:37.518215500 825 > *¦¦Q
2016-04-06 13:51:37.518216500 825 > 4y¦'¦R¦
¦c¦`¦¦V_¦`¦@¦¦¦8¦¦R¦¦¦¦+
2016-04-06 13:51:37.518528500 825 < >=f
/(!¦s¦¦6BQ^¦¦¦o¦¦¦F¦$¦¦¦¦¦¦?N¦p¦2¦¦¦¦¦¦¦+
2016-04-06 13:51:37.518622500 825 > *¦¦Q
2016-04-06 13:51:37.518624500 825 > 4y¦¦|?i¦k¦h¦¦_9¦}W¦¦Q?¦?¦¦D31+
2016-04-06 13:51:37.518949500 825 < &o¦¦¦"I¦>¦¦v¦V¦o¦k¦h¦6
2016-04-06 13:51:37.518951500 825 < k,I0+
PuTTYPuTTYPuTTY2016-04-06 13:51:37.522472500 qmail-smtpd[825]: AUTH successful [192.168.9.7] [email protected]
2016-04-06 13:51:37.522546500 825 > 3¦¦Q
2016-04-06 13:51:37.522548500 825 > 4y¦j¦8¦f¦Y¦¦'
2016-04-06 13:51:37.522550500 825 > ¦¦¦¦[¦?¦¦&¦¦M¦<x¦¦¦4¦t¦)¦+
2016-04-06 13:51:37.523039500 825 < A¦¦J¦ 1<¦;N¦zfZv¦eO9I¦Y¦I¦¦3 ¦¦¦¦2¦e¦hl?h¦ %\\¦+
2016-04-06 13:51:37.523089500 qmail-smtpd[825]: MAIL FROM:<[email protected]>
2016-04-06 13:51:37.523106500 825 > ¦¦Q
2016-04-06 13:51:37.523108500 825 > 4y¦¦C¦¦¦z";?¦¦P¦1 ¦¦[¦ ¦+
2016-04-06 13:51:37.523432500 825 < ?{¦Mb@¦%9?z`¦¦¦¦Z¦¦S¦z¦¦7
!¦`| b
S¦¦F¦*?¦Efo¦H¦?+
PuTTY2016-04-06 13:51:37.523482500 qmail-smtpd[825]: RCPT TO:<[email protected]>
2016-04-06 13:51:37.523501500 825 > ¦¦Q
2016-04-06 13:51:37.523503500 825 > 4y¦¦.¦¦D¦¦
¦¦¦¦*+¦XG¦?+
2016-04-06 13:51:37.523893500 825 < ¦7a¦
¦¦?¦?¦I¦¦6f¦$+
2016-04-06 13:51:37.524252500 825 > &¦¦Q
2016-04-06 13:51:37.524255500 825 > 4y¦~?7X¦¦¦¦¦f`¦¦`¦$i?¦¦G'¦¦
¦¦c¦¦@{Qx@¦~¦t¦¦¦2*¦¦n¦ ¦¦}!¦4¦?¦¦Z¦¦¦¦z¦?8¦¦¦d?¦¦¦F?C
2016-04-06 13:51:37.524711500 825 < ¦¦C%?¦=[
0.¦Ay@H¦¦}|¦(@¦tw ¦Hw7B?P¦¦¦oY¦¦c&¦¦D¦¦?ubQ¦¦¦¦>j¦:¦¦¦¦*¦?¦W¦g¦¦¦¦¦¦#
?NqVd?5¦N[¦RU@??d140¦?M¦Y¦¦+
2016-04-06 13:51:37.524762500 825 < ¦¦¦Uv¦
c"¦¦h ¦¦¦?¦f¦¦&z¦¦!¦¦
2016-04-06 13:51:37.524764500 825 < )@5¦¦¦KYm¦U¦'¦¦¦?
y]J1av¦¦imqx ¦¦¦F¦'QQ¦¦¦¦S¦?¦¦KB¦?¦¦¦¦c¦9¦¦$?
2016-04-06 13:51:37.524766500 825 < ¦6¦¦V¦¦c¦¦;¦f¦
2016-04-06 13:51:37.524768500 825 < ¦O¦¦J¦¦¦e+
PuTTYPuTTYPuTTY2016-04-06 13:51:37.627765500 825 < V-J ¦¦w¦h5<¦¦,/ #:¦?+
2016-04-06 13:51:37.630479500 825 > 2¦¦Q
2016-04-06 13:51:37.630482500 825 > 4y¦m¦
¦@¦?¦[¦¦¦`;¦¦v?4¦¦9?¦¦b¦V[^?+
2016-04-06 13:51:37.631032500 825 < [EOF]
2016-04-06 13:51:37.631111500 825 > [EOF]
2016-04-06 13:51:37.631537500 tcpserver: end 825 status 256
2016-04-06 13:51:37.631539500 tcpserver: status: 0/30