summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-14 13:10:29 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-14 13:10:29 +0000
commit6537f4cfd63c00812584f1325a19615541f6417a (patch)
tree887665a879d8bbc86d4073f1b32fad9ac16e73f5
parent552a3a0d9646a615d377f808ff862e085ca2acb0 (diff)
Add a man page for the configuration file.
-rw-r--r--Makefile.am2
-rw-r--r--NEWS7
-rw-r--r--README66
-rw-r--r--TODO6
-rw-r--r--esmtp.113
5 files changed, 21 insertions, 73 deletions
diff --git a/Makefile.am b/Makefile.am
index eca6734..2f83b99 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = esmtp
-dist_man_MANS = esmtp.1
+dist_man_MANS = esmtp.1 esmtprc.5
esmtp_SOURCES = \
lexer.l \
diff --git a/NEWS b/NEWS
index 92a8bdb..289c796 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,13 @@
News
~~~~
+ * Version 0.4.1 (under development):
+
+ * Packaging fixes.
+
+ * Esmtprc man page.
+
+
* Version 0.4 (2003-07-12):
* Debian packaging.
diff --git a/README b/README
index 89b26ef..9e3c896 100644
--- a/README
+++ b/README
@@ -46,70 +46,8 @@ mda "/usr/bin/procmail -d %T"
* Configuration options
~~~~~~~~~~~~~~~~~~~~~~~
- Options are specified by giving a <keyword=value> in the configuration
- file. The equal sign is optional and can be replaced by whitespace. The
- value may be enclose in simple or double quotes, in which case special
- characters can be escaped as in normal <C> strings.
-
- [hostname] - set SMTP host and service (port).
-
- This is specified in the format <<<host.example.org[:service]>>> with no
- whitespace surrounding the colon if service is specified. service may be a
- name from <<</etc/services>>> or a decimal port number. If not specified
- the port defaults to 587.
-
- Note (from <<libESMTP>> documentation): the default port number is set to
- 587 since this is the port that should be used for mail submission, see RFC
- 2476. By choosing this default now, the API does not change behavior
- unexpectedly in the future as use of the new standard becomes commonplace.
- The hostport notation simplifies things for the application, the user can
- type <<<localhost:smtp>>> or <<<localhost:25>>> where the application
- expects a host name.
-
- [username] - set the user name.
-
- [password] - set the password.
-
- [starttls] - determine the usage of the StartTLS extension.
-
- It can be one of <"enabled">, <"disabled"> or <"required">. It defaults to
- disabled.
-
- [certificate_passphrase] - set the certificate passphrase.
-
- [identity] - define an identity.
-
- An identities is a set of options associated with a given address. For
- example:
-
---------------------------------------
-identity = myself@somewhere.com
- hostname = smtp.somewhere.com:25
- username = "myself"
- password = "secret"
---------------------------------------
-
- Identities are be selected by the address specified in the <-f> flag. You
- can have as many you like.
-
- The options up to the first <identity> option constitute the default
- identity.
-
-
- Note: the default identity settings are not shared by the other identities.
- Everything (username, password, etc.) must be specified for every identity
- even if they don't differ from the default identity.
-
- [mda] - set the Mail Delivery Agent (MDA).
-
- Local delivery addresses will be inserted into the MDA command wherever you
- place a <%T>. The mail message's From address will be inserted where you
- place an <%F>.
-
- Some common MDAs are <"/usr/bin/procmail -d %T">,
- <"/usr/bin/deliver"> and <"/usr/lib/mail.local %T">.
-
- See below for more information about using <<esmtp>> with an MDA.
+ See the <<esmtprc>> man page for more detailed information on the
+ configuration options.
Invocation
diff --git a/TODO b/TODO
index a7eed6c..83a2645 100644
--- a/TODO
+++ b/TODO
@@ -1,13 +1,11 @@
To do
~~~~~
- <<esmtp>> already fulfills all my needs, and I don't plan to spend more time
- on it besides bug-fixing and some minor feature enhancements.
+ <<esmtp>> already fulfills all my needs, and I don't plan to spend much more
+ time on it besides bug fixing.
Here is a list of what can still be done:
- * Add a man page for the configuration file.
-
* Alias expansion.
diff --git a/esmtp.1 b/esmtp.1
index e3b9431..31c6036 100644
--- a/esmtp.1
+++ b/esmtp.1
@@ -240,11 +240,16 @@ addresses.
.SH FILES
.TP
~/.esmtprc
-configuration file
+user configuration file
+
+.TP
+/etc/esmtprc
+system configuration file
.SH SEE ALSO
-sendmail(1),
-fetchmail(1)
+esmtprc(5),
+fetchmail(1),
+sendmail(1)
-.SH AUTHORS
+.SH AUTHOR
José Fonseca