From 48e245a29e60eed2e2fb9dfdebf4b8c674d7c530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 13 Jan 2004 16:38:19 +0000 Subject: Document when and how the local MDA is invoked. Fix some typos. --- esmtp.1 | 3 +-- esmtprc.5 | 14 +++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/esmtp.1 b/esmtp.1 index 0e0ed46..c706852 100644 --- a/esmtp.1 +++ b/esmtp.1 @@ -253,8 +253,7 @@ the command line and there is no user configuration file. .SH SEE ALSO esmtprc(5), -fetchmail(1), -sendmail(1) +fetchmail(1) .SH AUTHOR José Fonseca diff --git a/esmtprc.5 b/esmtprc.5 index b807bcb..6deebd6 100644 --- a/esmtprc.5 +++ b/esmtprc.5 @@ -46,7 +46,7 @@ expects a host name. \fBusername\fR Set the username for authentication with the SMTP server. -Do NOT set the username and password on the system configuration file unless +Do NOT set the username and password in the system configuration file unless you are the only user of this machine. \fBEsmtp\fR is not run with suid privileges therefore the system configuration file must be readable by everyone. If your SMTP server reuquires authentication and you are not the @@ -75,7 +75,7 @@ Shell command to execute prior to opening an SMTP connection. This may be useful in conjunction with application-level transports (e.g. \fBssh\fR with its port-forwarding functionality) to secure the SMTP connection. \fBEsmtp\fR will wait for the command to exit before -proceeding. If the command returns a non-zero status, delivery will be +proceeding. If the command returns a non-zero status, delivery will be aborted. .TP @@ -106,12 +106,16 @@ if they don't differ from the default identity. \fBmda\fR Set the Mail Delivery Agent (MDA). +\fBEsmtp\fR relies upon a MDA for local mail delivery, i.e., addresses without +a '@' character. A non-zero error status tells \fBesmtp\fR that delivery +failed. + The local delivery addresses will be inserted into the MDA command wherever you -place a %T. The mail message's \fBFrom\fR address will be inserted where you +place a %T. The mail message's \fBFrom\fR 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". +Some common MDAs are "/usr/bin/procmail -d %T", "/usr/bin/deliver" and +"/usr/lib/mail.local %T". .SH SEE ALSO esmtp(1) -- cgit v1.2.3-2-g168b