summaryrefslogtreecommitdiff
path: root/sample.esmtprc
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-05 10:49:22 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-07-05 10:49:22 +0000
commit60b9cfd5abf4e2c68821b8435cc73ec3a7d1e058 (patch)
tree8c9f64a1f99ca5eead75993b53852d3fa132a366 /sample.esmtprc
parent5f63162c8088321f5d0f88e8a367815b9cd2d694 (diff)
Better documentation.
Support for more sendmail options. Error verification for libESMTP calls.
Diffstat (limited to 'sample.esmtprc')
-rw-r--r--sample.esmtprc30
1 files changed, 6 insertions, 24 deletions
diff --git a/sample.esmtprc b/sample.esmtprc
index 8ff89f0..f44db65 100644
--- a/sample.esmtprc
+++ b/sample.esmtprc
@@ -5,25 +5,10 @@
# 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
#
username = "USERNAME"
-#
-# Note that the equal and quotes are optional but can be helpful in certain
-# circumstances.
# Set the password
password = "PASSWORD"
@@ -43,10 +28,10 @@ password = "PASSWORD"
# Same as above but for 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"
+identity = myself@somewhere.com
+ hostname = smtp.somewhere.com:25
+ username = "myself"
+ password = "secret"
#starttls = disabled
#
# NOTE: the default indentity settings aren't shared by the other identities.
@@ -58,8 +43,5 @@ identity myself@somewhere.com
#
mda = "/usr/bin/procmail -d %T"
#
-# Some possible MDAs are
-# - "/usr/bin/procmail -d %T"
-# - "/usr/bin/deliver"
-# - "/usr/sbin/sendmail -i -f %F %T"
-# - "/usr/lib/mail.local %s"
+# Some possible MDAs are "/usr/bin/procmail -d %T", "/usr/bin/deliver" or
+# "/usr/lib/mail.local %T".