diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2003-10-15 19:26:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2003-10-15 19:26:58 +0000 |
commit | 0d8a8b913f6a15088523bc69cbcf6240de945cda (patch) | |
tree | 6d32025f03e7c273d35d88a6bd4c6fa9432632d8 /fetchmailconf | |
parent | a9c74c7425861cabc87f74fbce49e0da7af5e756 (diff) | |
download | fetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.tar.gz fetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.tar.bz2 fetchmail-0d8a8b913f6a15088523bc69cbcf6240de945cda.zip |
Sunil's transaction patches.
svn path=/trunk/; revision=3858
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf index 88564c56..ef41a5df 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -250,6 +250,8 @@ class User: self.limit = 0 # Message size limit self.warnings = 3600 # Size warning interval (see tunable.h) self.fetchlimit = 0 # Max messages fetched per batch + self.fetchsizelimit = 100 # Max message sizes fetched per transaction + self.fastuidl = 10 # Do fast uidl 9 out of 10 times self.batchlimit = 0 # Max message forwarded per batch self.expunge = 0 # Interval between expunges (IMAP) self.ssl = 0 # Enable Seccure Socket Layer @@ -287,6 +289,8 @@ class User: ('limit', 'Int'), ('warnings', 'Int'), ('fetchlimit', 'Int'), + ('fetchsizelimit', 'Int'), + ('fastuidl', 'Int'), ('batchlimit', 'Int'), ('expunge', 'Int'), ('ssl', 'Boolean'), @@ -347,6 +351,10 @@ class User: res = res + " warnings " + `self.warnings` if self.fetchlimit != UserDefaults.fetchlimit: res = res + " fetchlimit " + `self.fetchlimit` + if self.fetchsizelimit != UserDefaults.fetchsizelimit: + res = res + " fetchsizelimit " + `self.fetchsizelimit` + if self.fastuidl != UserDefaults.fastuidl: + res = res + " fastuidl " + `self.fastuidl` if self.batchlimit != UserDefaults.batchlimit: res = res + " batchlimit " + `self.batchlimit` if self.ssl and self.ssl != UserDefaults.ssl: @@ -1701,6 +1709,11 @@ class UserEdit(Frame, MyWidget): self.warnings, '30').pack(side=TOP, fill=X) LabeledEntry(limwin, 'Max messages to fetch per poll:', self.fetchlimit, '30').pack(side=TOP, fill=X) + LabeledEntry(limwin, 'Max message sizes to fetch per transaction:', + self.fetchsizelimit, '30').pack(side=TOP, fill=X) + if self.parent.server.protocol not in ('ETRN', 'ODMR'): + LabeledEntry(limwin, 'Use fast UIDL:', + self.fastuidl, '30').pack(side=TOP, fill=X) LabeledEntry(limwin, 'Max messages to forward per poll:', self.batchlimit, '30').pack(side=TOP, fill=X) if self.parent.server.protocol not in ('ETRN', 'ODMR'): |