aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
9' href='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192