aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 75a00fca..ba8b6e09 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -203,6 +203,7 @@ class User:
self.mailboxes = [] # Remote folders to retrieve from
self.smtphunt = [] # Hosts to forward to
self.smtpaddress = None # Append this to MAIL FROM line
+ self.smtpname = None # Use this for RCPT TO
self.preconnect = None # Connection setup
self.postconnect = None # Connection wrapup
self.mda = None # Mail Delivery Agent
@@ -341,7 +342,7 @@ class User:
for x in self.mailboxes:
res = res + " " + x
res = res + "\n"
- for fld in ('smtpaddress', 'smtpname', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'):
+ for fld in ('smtpaddress', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'):
if getattr(self, fld):
res = res + " %s %s\n" % (fld, `getattr(self, fld)`)
if self.lmtp != UserDefaults.lmtp: