aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.man
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-04 17:58:17 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-04 17:58:17 +0000
commit50b3d54cadeda8be3e837358f43e0e9b904d091a (patch)
tree053b6784c6706e60e870986e78c52b1085a7f09d /fetchmail.man
parentc6a786da423edc936db3d62e00ce2dc06b2e2a44 (diff)
downloadfetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.tar.gz
fetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.tar.bz2
fetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.zip
Restore --mda, with cleaner implementation this time.
svn path=/trunk/; revision=214
Diffstat (limited to 'fetchmail.man')
-rw-r--r--fetchmail.man15
1 files changed, 14 insertions, 1 deletions
diff --git a/fetchmail.man b/fetchmail.man
index 1c50856e..b92aaed6 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -25,7 +25,7 @@ mail-retrieval protocols: POP2 (as specified in RFC 937), POP3 (RFC
IMAP4 (as specified by RFC1730). It can use (but does not require)
the RPOP and LAST facilities removed from later POP3 versions.
.PP
-As each message is retrieved \fIfetchmail\fR delivers it via SMTP to
+As each message is retrieved \fIfetchmail\fR normally delivers it via SMTP to
port 25 on the machine it is running on (localhost), just as though it
were being passed in over a normal TCP/IP link. The mail will then be
delivered locally via your system's MDA (Mail Delivery Agent, usually
@@ -60,6 +60,17 @@ command, behaves as though --all is always on (see KNOWN PROBLEMS below).
.B \-S host, --smtphost host
Specify an host to forward mail to (other than localhost).
.TP
+.B \-m, \--mda
+You can force mail to be passed to an MDA directly (rather than
+forwarded to port 25) with the -mda or -m
+option (this can be useful if you don't want to run sendmail as an
+SMTP listener for security or other reasons).
+Some possible MDAs are "/usr/sbin/sendmail -oem %s",
+"/usr/lib/sendmail -oem %s",
+"/usr/formail", and "/usr/bin/deliver %s" (if the MDA command contains
+%s, that escape will be expanded into your username on the client
+machine).
+.TP
.B \-F, --flush
POP3/IMAP only. Delete old (previously retrieved) messages from the mailserver
before retrieving new messages.
@@ -289,6 +300,7 @@ Legal keywords are:
password (or pass)
remotefolder (or remote)
smtphost (or smtp)
+ mda
keep
flush
fetchall
@@ -367,6 +379,7 @@ string in double quotes. Thus:
proto pop3
user jsmith
pass "u can't krak this"
+ mda "/bin/mail %s"
.fi
Finally, you may have an initial server description headed by the keyword