|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| crammd5/ | H | 09-Aug-2010 | - | 1,225 | 856 |
| doc/ | H | 09-Aug-2010 | - | 2,361 | 2,007 |
| examples/ | H | 09-Aug-2010 | - | 620 | 467 |
| login/ | H | 09-Aug-2010 | - | 689 | 561 |
| ntlm/ | H | 03-May-2022 | - | 1,248 | 959 |
| plain/ | H | 09-Aug-2010 | - | 667 | 542 |
| AUTHORS | H A D | 08-Aug-2010 | 44 | 2 | 1 |
| COPYING | H A D | 08-Aug-2010 | 17.6 KiB | 341 | 281 |
| ChangeLog | H A D | 08-Aug-2010 | 46.9 KiB | 1,287 | 1,010 |
| INSTALL | H A D | 02-Feb-2010 | 15.2 KiB | 366 | 284 |
| Makefile.am | H A D | 09-Aug-2010 | 1.1 KiB | 32 | 23 |
| Makefile.in | H A D | 09-Aug-2010 | 33.3 KiB | 972 | 867 |
| NEWS | H A D | 08-Aug-2010 | 8.1 KiB | 230 | 151 |
| Notes | H A D | 08-Aug-2010 | 3.5 KiB | 96 | 73 |
| README | H A D | 08-Aug-2010 | 3.4 KiB | 107 | 75 |
| TODO | H A D | 08-Aug-2010 | 1.3 KiB | 32 | 23 |
| acconfig.h | H A D | 08-Aug-2010 | 144 | 9 | 5 |
| acinclude.m4 | H A D | 09-Aug-2010 | 13.3 KiB | 375 | 331 |
| aclocal.m4 | H A D | 09-Aug-2010 | 309.9 KiB | 8,931 | 8,005 |
| api.h | H A D | 08-Aug-2010 | 1.2 KiB | 36 | 9 |
| auth-client.c | H A D | 08-Aug-2010 | 10.9 KiB | 472 | 368 |
| auth-client.h | H A D | 08-Aug-2010 | 3.6 KiB | 92 | 49 |
| auth-plugin.h | H A D | 08-Aug-2010 | 2.2 KiB | 57 | 20 |
| base64.c | H A D | 08-Aug-2010 | 4.4 KiB | 168 | 110 |
| base64.h | H A D | 08-Aug-2010 | 1.2 KiB | 29 | 5 |
| concatenate.c | H A D | 08-Aug-2010 | 4.9 KiB | 194 | 125 |
| concatenate.h | H A D | 08-Aug-2010 | 1.6 KiB | 43 | 18 |
| config.guess | H A D | 04-Nov-2009 | 44.5 KiB | 1,534 | 1,318 |
| config.h.in | H A D | 09-Aug-2010 | 6.2 KiB | 250 | 172 |
| config.sub | H A D | 04-Nov-2009 | 33.3 KiB | 1,694 | 1,549 |
| configure | H A D | 09-Aug-2010 | 440.3 KiB | 15,614 | 12,188 |
| configure.ac | H A D | 03-May-2022 | 19.9 KiB | 620 | 534 |
| depcomp | H A D | 02-Feb-2010 | 18.2 KiB | 631 | 407 |
| errors.c | H A D | 08-Aug-2010 | 6.9 KiB | 297 | 224 |
| getaddrinfo.c | H A D | 08-Aug-2010 | 8.3 KiB | 315 | 239 |
| getaddrinfo.h | H A D | 08-Aug-2010 | 2.9 KiB | 68 | 32 |
| gethostbyname.c | H A D | 08-Aug-2010 | 4.3 KiB | 229 | 165 |
| gethostbyname.h | H A D | 08-Aug-2010 | 2.2 KiB | 104 | 41 |
| headers.c | H A D | 09-Aug-2010 | 24.7 KiB | 910 | 641 |
| headers.h | H A D | 08-Aug-2010 | 1.3 KiB | 33 | 8 |
| htable.c | H A D | 08-Aug-2010 | 6.1 KiB | 229 | 155 |
| htable.h | H A D | 08-Aug-2010 | 1.5 KiB | 40 | 15 |
| install-sh | H A D | 02-Feb-2010 | 13.3 KiB | 521 | 344 |
| libesmtp-config.in | H A D | 08-Aug-2010 | 1.3 KiB | 88 | 67 |
| libesmtp-private.h | H A D | 08-Aug-2010 | 7.7 KiB | 257 | 150 |
| libesmtp.h | H A D | 08-Aug-2010 | 10.5 KiB | 319 | 206 |
| libesmtp.spec | H A D | 09-Aug-2010 | 2 KiB | 83 | 59 |
| libesmtp.spec.in | H A D | 08-Aug-2010 | 2 KiB | 83 | 63 |
| ltmain.sh | H A D | 06-Jan-2010 | 237.8 KiB | 8,414 | 6,482 |
| memrchr.c | H A D | 08-Aug-2010 | 1.4 KiB | 44 | 19 |
| message-callbacks.c | H A D | 08-Aug-2010 | 2.3 KiB | 93 | 52 |
| message-source.c | H A D | 08-Aug-2010 | 5.6 KiB | 219 | 135 |
| message-source.h | H A D | 08-Aug-2010 | 1.7 KiB | 43 | 13 |
| missing | H A D | 02-Feb-2010 | 11.2 KiB | 377 | 281 |
| missing.h | H A D | 08-Aug-2010 | 1.7 KiB | 58 | 26 |
| protocol-states.h | H A D | 08-Aug-2010 | 1.4 KiB | 52 | 25 |
| protocol.c | H A D | 08-Aug-2010 | 47.5 KiB | 1,579 | 1,052 |
| protocol.h | H A D | 08-Aug-2010 | 1.6 KiB | 44 | 16 |
| rfc2822date.c | H A D | 08-Aug-2010 | 3.3 KiB | 119 | 76 |
| rfc2822date.h | H A D | 08-Aug-2010 | 1.1 KiB | 28 | 4 |
| siobuf.c | H A D | 08-Aug-2010 | 15.2 KiB | 648 | 481 |
| siobuf.h | H A D | 08-Aug-2010 | 2.4 KiB | 60 | 32 |
| smtp-api.c | H A D | 08-Aug-2010 | 14.6 KiB | 638 | 485 |
| smtp-auth.c | H A D | 08-Aug-2010 | 7.7 KiB | 307 | 224 |
| smtp-bdat.c | H A D | 08-Aug-2010 | 10.4 KiB | 315 | 184 |
| smtp-etrn.c | H A D | 08-Aug-2010 | 6 KiB | 252 | 178 |
| smtp-tls.c | H A D | 03-May-2022 | 21.8 KiB | 765 | 510 |
| snprintf.c | H A D | 08-Aug-2010 | 18.1 KiB | 798 | 637 |
| strcasecmp.c | H A D | 08-Aug-2010 | 1.4 KiB | 48 | 23 |
| strdup.c | H A D | 08-Aug-2010 | 1.3 KiB | 46 | 21 |
| strncasecmp.c | H A D | 08-Aug-2010 | 1.4 KiB | 50 | 25 |
| tokens.c | H A D | 08-Aug-2010 | 3 KiB | 129 | 82 |
| tokens.h | H A D | 08-Aug-2010 | 1.2 KiB | 30 | 6 |
README
1 libESMTP, version 1.0
2 -- oOo --
3 Brian Stafford <brian@stafford.uklinux.net>
4
5
6What is libESMTP?
7-----------------
8
9LibESMTP is a library to manage posting (or submission of) electronic
10mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
11Exim or Postfix. It may be used as part of a Mail User Agent (MUA) or
12another program that must be able to post electronic mail but where mail
13functionality is not the program's primary purpose.
14
15LibESMTP is not intended to be used as part of a program that implements
16a Mail Transport Agent.
17
18It is hoped that the availability of a lightweight library implementing
19an SMTP client will both ease the task of coding for software authors
20and improve the quality of the resulting code.
21
22Features
23--------
24
25Support for many SMTP extensions, notably PIPELINING (RFC 2920),
26DSN (RFC 2554) and AUTH (RFC 2554). Also supported is the
27sendmail specific XUSR extension which informs sendmail that the
28message is an initial submission.
29
30SASL
31----
32
33AUTH is implemented using a SASL (RFC 2222) client library which is
34currently integrated into libESMTP. It was felt that the Cyrus SASL
35library was too complex for the needs of a client only SASL
36implementation.
37
38If there is sufficient interest in a LGPL SASL library, the SASL client
39API will be split off into a separate library in the future. There may
40also be a case for implementing a server side SASL library along the
41same lines as the client implementation.
42
43Installation
44------------
45
46Please refer to INSTALL for generic installation instructions. LibESMTP
47has a few options when configuring; ./configure --help lists them.
48
49Dependencies
50------------
51
52dlsym:
53
54libESMTP requires that dlsym() is available on your system. This is
55true of many modern systems but not all. An alternative is to download
56and install libltdl which provides a functional equivalent. Libltdl is
57distributed with GNU Libtool, which is available from
58http://www.gnu.org/software/libtool/
59
60getaddrinfo:
61
62You will need a modern resolver library providing the getaddrinfo API.
63getaddrinfo is easier to use, protocol independent, thread-safe and
64RFC 2553 and Posix standard.
65
66An emulation of this is provided for systems that do not have it, however
67it is reccommended that the version provided in recent versions of GNU
68libc or BIND is used. Most people will already at least one of these
69(e.g. virtually every Linux distro). There is also support for the
70lightweight resolver distributed with BIND 9. BIND may be downloaded
71from the ISC (http://www.isc.org/).
72
73openssl:
74
75OpenSSL (http://www.openssl.org/) is required to build the SMTP STARTTLS
76extension and the NTLM authentication module. If you have no need for
77either of these features, you do not need OpenSSL.
78
79
80Licence
81-------
82
83LibESMTP is licensed under the GNU Lesser General Public License and the
84example programs are under the GNU General Public Licence. Please refer
85to COPYING.GPL and COPYING for full details.
86
87Obtaining libESMTP
88------------------
89
90LibESMTP may be obtained from:
91 http://www.stafford.uklinux.net/libesmtp/
92
93Documentation
94-------------
95
96LibESMTP documentation is available on the web at:
97 http://www.stafford.uklinux.net/libesmtp/api.html
98This probably (definitely) lags behind the actual source code.
99
100What does the 'E' stand for?
101--------------------------
102
103The 'E' in libESMTP is there because support for a number of SMTP
104extensions is built in to the library by design.
105
106
107