aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmailconf')
-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