Commit e30c3e59 e30c3e590d7cfa8d238a25f47208e7db3f711960 by Sergey Poznyakoff

Updated

1 parent 78f21e8d
1 2003-08-28 Sergey Poznyakoff
2
3 Implemented the TLS protocol for IMAP and POP mailboxes.
4 Split libmailbox to the core library (libmailbox) and
5 the protocol implementation libraries (libmu_$PROTONAME).
6
7 * auth/lbuf.h: New file.
8 * auth/lbuf.c: New file.
9 * auth/tls.c: Implemented client TLS stream.
10 * auth/gsasl.c: Use lbuf stuff.
11 * auth/Makefile.am: Updated.
12
13 * mailbox/mbx_file.c: Moved to ...
14 * mailbox/mbox/file.c: ... here
15 * mailbox/mbox/Makefile.am: Changed target to lib_LTLIBRARY
16 * mailbox/mh/Makefile.am: Likewise
17 * mailbox/imap/Makefile.am: Likewise
18 * mailbox/pop/Makefile.am: Likewise
19 * mailbox/maildir/Makefile.am: Likewise
20
21 * dotlock/Makefile.am: Adopted _LDADD for the new library layout.
22 * examples/Makefile.am: Likewise
23 * from/Makefile.am: Likewise
24 * guimb/Makefile.am: Likewise
25 * imap4d/Makefile.am: Likewise
26 * mail/Makefile.am: Likewise
27 * mailbox/Makefile.am: Likewise
28 * messages/Makefile.am: Likewise
29 * mh/Makefile.am: Likewise
30 * pop3d/Makefile.am: Likewise
31 * readmsg/Makefile.am: Likewise
32 * sieve/Makefile.am: Likewise
33 * comsat/Makefile.am: Likewise
34 * frm/Makefile.am: Likewise
35 * mail.local/Makefile.am: Likewise
36
37 * configure.ac: Moved Kerberos libs to SERV_AUTHLIBS.
38 * Makefile.am: Changed the order of SUBDIRS
39
40 * mailbox/mailutils-config.c: --link part rewritten to reflect
41 the new library layout.
42
43 * mailbox/imap/folder.c: Implemented client side TLS
44 * mailbox/imap/mbox.c (imap_expunge): Use EXPUNGE instead
45 of closing and reopening the mailbox. This way the user
46 is not prompted twice for his credentials. Besides, it
47 appears to be faster, in spite of what the comment before
48 the function said.
49 * mailbox/pop/mbox.c: Implemented client side TLS.
50 * mailbox/include/imap0.h (struct _f_imap): New members
51 capav and capac to hold the array of capabilities.
52
53 * examples/decode2047.c (ISPRINT): Fixed.
54 * from/from.c: Use "tls" command line capability.
55 * frm/frm.c: Likewise
56 * messages/messages.c: Likewise.
57 * mail/mail.c: Likewise.
58 * readmsg/readmsg.c: Likewise.
59 * sieve/sieve.c: Likewise.
60
61 * mail/mail.h: Include tls.h
62 * readmsg/readmsg.h: Likewise.
63
64 * include/mailutils/stream.h (stream_get_fd2): New function.
65 (stream_set_fd): Changed type of the second arg.
66 * mailbox/stream.c: Likewise.
67 * mailbox/include/stream0.h (struct _stream): Changed
68 _get_fd member.
69
70 * mailbox/body.c: Fixed _get_fd methods.
71 * mailbox/file_stream.c: Likewise.
72 * mailbox/filter.c: Likewise.
73 * mailbox/message.c: Likewise.
74 * mailbox/mime.c: Likewise.
75 * mailbox/mbox/mbox.c: Likewise.
76 * mailbox/mapfile_stream.c: Likewise.
77 * mailbox/tcp.c: Likewise.
78
79 * include/mailutils/tls.h (tls_stream_create_client)
80 (tls_stream_create_client_from_tcp): New functions.
81 (mu_tls_enable): New variable
82
83 * libmu_scm/mailutils.scm.in: Modified for the new
84 library layout.
85
86 * mailbox/sendmail.c: Added missing includes
87 * mailbox/smtp.c: Likewise.
88 * mailbox/pop/folder.c: Minor wording change.
89
90 * NEWS: Updated
91 * TODO: Updated
92
1 2003-08-27 Sergey Poznyakoff 93 2003-08-27 Sergey Poznyakoff
2 94
3 * NEWS: Updated 95 * NEWS: Updated
......
1 GNU mailutils NEWS -- history of user-visible changes. 2003-27-07 1 GNU mailutils NEWS -- history of user-visible changes. 2003-28-07
2 Copyright (C) 2002, 2003 Free Software Foundation, Inc. 2 Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3 See the end of file for copying conditions. 3 See the end of file for copying conditions.
4 4
...@@ -22,10 +22,23 @@ with MH-E. ...@@ -22,10 +22,23 @@ with MH-E.
22 22
23 ** Correctly handle MIME parts with an empty body. 23 ** Correctly handle MIME parts with an empty body.
24 24
25 * Major Changes
26
27 ** The library has been split into the core library (libmailbox), and
28 the protocol implementation libraries, which are named as
29 libmu_$PROTO. For example, the library for MBOX mailbox formats is
30 libmu_mbox.so.
31
32 ** The support for TLS protocol has been added to libmu_imap.so and
33 libmu_pop.so. This means that you can now use TLS with every
34 Mailutils client program.
35
25 * New features. 36 * New features.
26 37
27 ** libmailbox 38 ** libmailbox
28 39
40 ** See "Major Changes"
41
29 *** implemented header unfolding 42 *** implemented header unfolding
30 43
31 *** argcv_get unescapes all unprintable characters, argcv_string 44 *** argcv_get unescapes all unprintable characters, argcv_string
......
...@@ -52,12 +52,6 @@ and use them in mail.remote. ...@@ -52,12 +52,6 @@ and use them in mail.remote.
52 52
53 ** support AUTH=anonymous (imap://cyrus.andrew.cmu.edu/archive.info-cyrus) 53 ** support AUTH=anonymous (imap://cyrus.andrew.cmu.edu/archive.info-cyrus)
54 54
55 ** the POP mailer must use the CAPA command to determine any protocol
56 extension (mostly done); support for the STLS would be great.
57
58 ** the IMAP mailer must use the CAPABILITY command... likewise;
59 support the STARTTLS.
60
61 ** support POP3S and IMAPS mailers (ports 995/993). 55 ** support POP3S and IMAPS mailers (ports 995/993).
62 NOTE: Do we really need it? Pop3d and imap4d already use STLS/STARTTLS. 56 NOTE: Do we really need it? Pop3d and imap4d already use STLS/STARTTLS.
63 57
......
...@@ -28,6 +28,8 @@ gsasl.c \ ...@@ -28,6 +28,8 @@ gsasl.c \
28 pam.c \ 28 pam.c \
29 sql.h \ 29 sql.h \
30 sql.c \ 30 sql.c \
31 lbuf.h \
32 lbuf.c \
31 mysql.c \ 33 mysql.c \
32 pgsql.c \ 34 pgsql.c \
33 tls.c \ 35 tls.c \
......