aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-08 16:23:58 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-08 16:23:58 +0000
commit7579c3485f8850f8735e970d365486282a2303a3 (patch)
tree42178f514487b7baef88540e8b1fe0f4f9e9af0a
parentb1b666e83b951551dca6f5f38a03214e2ebc4efd (diff)
downloadfetchmail-7579c3485f8850f8735e970d365486282a2303a3.tar.gz
fetchmail-7579c3485f8850f8735e970d365486282a2303a3.tar.bz2
fetchmail-7579c3485f8850f8735e970d365486282a2303a3.zip
No known servers now give it indigestion.
svn path=/trunk/; revision=513
-rw-r--r--driver.c10
-rw-r--r--fetchmail.man3
2 files changed, 3 insertions, 10 deletions
diff --git a/driver.c b/driver.c
index 50eb8039..9b0aee0f 100644
--- a/driver.c
+++ b/driver.c
@@ -360,17 +360,11 @@ struct query *ctl; /* query control record */
/* if nothing supplied localnames, default appropriately */
if (!xmit_names)
{
- char *dflt;
-
- if (getuid() == 0)
- dflt = ctl->remotename;
- else
- dflt = user;
- save_uid(&xmit_names, -1, dflt);
+ save_uid(&xmit_names, -1, user);
if (outlevel == O_VERBOSE)
fprintf(stderr,
"fetchmail: no local matches, forwarding to %s\n",
- dflt);
+ user);
}
/* time to address the message */
diff --git a/fetchmail.man b/fetchmail.man
index c8e9d6db..987b01f0 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -465,8 +465,7 @@ When there is more than one local name (or name mapping) the
retrieved mail. When a declared mailserver username is recognized, its
local mapping is added to the list of local recipients. If
\fIfetchmail\fR cannot recognize any mailserver usernames, the default
-recipient is the calling user, unless the calling user is root in
-which case it is the remote user name of the current entry.
+recipient is the calling user.
.PP
The \fBpassword\fR option requires a string argument, which is the password
to be used with the entry's server.