]> Pileus Git - ~andy/fetchmail/commitdiff
Correction.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 27 Nov 2000 04:21:53 +0000 (04:21 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 27 Nov 2000 04:21:53 +0000 (04:21 -0000)
svn path=/trunk/; revision=2990

fetchmailconf

index 75a00fca3d6b8a89a3d9b015184025544542a9c6..ba8b6e090043e4bb24bdf5b8317dafc0209fb8df 100755 (executable)
@@ -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: