From c794e982836327879fd1e4dc7195dcac2cba44c1 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Tue, 26 May 1998 16:10:57 +0000
Subject: Better defaults.

svn path=/trunk/; revision=1859
---
 fetchmailconf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'fetchmailconf')

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
-- 
cgit v1.2.3