diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-11-27 03:11:52 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-11-27 03:11:52 +0000 |
commit | 9f1bf39868c71a87bb7d7649698ccebac7a40cdd (patch) | |
tree | 2c51ef08b2b31896c4c26d9dfeedc51f5f57eeaa /fetchmailconf | |
parent | ba3606f1cb23dd0d9f1716a7bdc524222d40f42a (diff) | |
download | fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.tar.gz fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.tar.bz2 fetchmail-9f1bf39868c71a87bb7d7649698ccebac7a40cdd.zip |
5-6-0bis fix for smtpname.
svn path=/trunk/; revision=2989
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fetchmailconf b/fetchmailconf index 43dbb164..75a00fca 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -4,7 +4,7 @@ # by Eric S. Raymond, <esr@snark.thyrsus.com>. # Requires Python with Tkinter, and the following OS-dependent services: # posix, posixpath, socket -version = "1.31" +version = "1.32" from Tkinter import * from Dialog import * @@ -235,6 +235,7 @@ class User: ('password', 'String'), # Leave out smtphunt ('smtpaddress', 'String'), + ('smtpname', 'String'), ('preconnect', 'String'), ('postconnect', 'String'), ('mda', 'String'), @@ -340,7 +341,7 @@ class User: for x in self.mailboxes: res = res + " " + x res = res + "\n" - for fld in ('smtpaddress', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'): + for fld in ('smtpaddress', 'smtpname', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'): if getattr(self, fld): res = res + " %s %s\n" % (fld, `getattr(self, fld)`) if self.lmtp != UserDefaults.lmtp: @@ -1498,6 +1499,8 @@ class UserEdit(Frame, MyWidget): self.user.smtphunt, None, None, targwin, None) LabeledEntry(targwin, 'Append to MAIL FROM line:', self.smtpaddress, '26').pack(side=TOP, fill=X) + LabeledEntry(targwin, 'Set RCPT To address:', + self.smtpname, '26').pack(side=TOP, fill=X) LabeledEntry(targwin, 'Connection setup command:', self.preconnect, '26').pack(side=TOP, fill=X) LabeledEntry(targwin, 'Connection wrapup command:', |