summaryrefslogtreecommitdiff
path: root/sample.esmtprc
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-02-11 00:09:16 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-02-11 00:09:16 +0000
commitfb836eb1e24d9d1f2e39aea9909fc5e0a7e595d3 (patch)
tree573a30710b9f66eb90b2a1e95b14e09774a0ab82 /sample.esmtprc
parente70f6ebca12dd63941d02c73797dfb68deb65f20 (diff)
Support for identities and custom configuration files based on patch by Jerome
<freejazz@gmx.fr>. Respective documentation updates. The use of '=' in the configuration file was made optional.
Diffstat (limited to 'sample.esmtprc')
-rw-r--r--sample.esmtprc46
1 files changed, 40 insertions, 6 deletions
diff --git a/sample.esmtprc b/sample.esmtprc
index a5343f2..1a11e4e 100644
--- a/sample.esmtprc
+++ b/sample.esmtprc
@@ -1,15 +1,49 @@
-#set SMTP host and service (port)
+# Sample configuration file for ESMTP.
+#
+# José Fonseca
+
+# Set SMTP host and service (port)
+#
hostname = localhost:25
+#
+# 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 behaviour unexpectedly
+# in the future as use of the new standard becomes commonplace. The hostport
+# nototion simplifies things for the application, the user can type
+# localhost:smtp or localhost:25 where the application expects a host name.
-# set the user name
+# Set the user name
+#
username = "USERNAME"
+#
+# Note that the equal and quotes are optional but can be helpful in certain
+# circumstances.
-# set the password
+# Set the password
password = "PASSWORD"
-# use the Starttls
-#starttls = { enabled | disabled | required }
+# Use the Starttls
+#
+starttls = disabled
+#
+# It can be one of "enabled", "disabled" or "required". It defaults to
+# disabled.
-# set the certificate passphrase
+# Set the certificate passphrase
+#
#certificate_passphrase = "CERTIFICATE_PASSPHRASE"
+
+# A different identity which can be selected with the '-f' flag. You can have
+# as many you like.
+#
+identity myself@somewhere.com
+ hostname smtp.somewhere.com:25
+ username "myself"
+ password "secret"