aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-26 16:10:57 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-26 16:10:57 +0000
commitc794e982836327879fd1e4dc7195dcac2cba44c1 (patch)
treece6541510fd7155cc44acbc1b673c081a25bb1da
parent1ea07bd46d33c058dd5d39672331f44f441e1110 (diff)
downloadfetchmail-c794e982836327879fd1e4dc7195dcac2cba44c1.tar.gz
fetchmail-c794e982836327879fd1e4dc7195dcac2cba44c1.tar.bz2
fetchmail-c794e982836327879fd1e4dc7195dcac2cba44c1.zip
Better defaults.
svn path=/trunk/; revision=1859
-rwxr-xr-xfetchmailconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 8f62a756..f4cd4635 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -160,8 +160,8 @@ class Server:
class User:
def __init__(self):
- self.remote = "" # Remote username
- self.localnames = None # Local names
+ self.remote = os.environ["USER"]# Remote username
+ self.localnames = (self.remote,)# Local names
self.password = "" # Password for mail account access
self.mailboxes = None # Remote folders to retrieve from
self.smtphunt = None # Hosts to forward to