diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-10-16 13:01:06 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-10-16 13:01:06 +0000 |
commit | 580682dcaae8305ac9ca9c5e1011ef963d86f5d1 (patch) | |
tree | 8d5ccac1987c1e986400daa4f5a411bde885ecf9 /fetchmailconf | |
parent | 380a2d1a3a08c38a6280e1a1bc376a4c3b79e21d (diff) | |
download | fetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.tar.gz fetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.tar.bz2 fetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.zip |
Now we can use --limit with daemon mode.
svn path=/trunk/; revision=2091
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf index 6b7f0cd4..22fddfd5 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -194,6 +194,7 @@ class User: self.mimedecode = FALSE # Undo MIME armoring self.dropstatus = FALSE # Drop incoming Status lines self.limit = 0 # Message size limit + self.warnings = 0 # Size warning interval self.fetchlimit = 0 # Max messages fetched per batch self.batchlimit = 0 # Max message forwarded per batch self.expunge = 1 # Interval between expunges (IMAP) @@ -217,6 +218,7 @@ class User: ('mimedecode', 'Boolean'), ('dropstatus', 'Boolean'), ('limit', 'Int'), + ('warnings', 'Int'), ('fetchlimit', 'Int'), ('batchlimit', 'Int'), ('expunge', 'Int')) @@ -261,6 +263,8 @@ class User: str = str + flag2str(self.dropstatus, 'dropstatus') if self.limit != UserDefaults.limit: str = str + " limit " + `self.limit` + if self.warnings != UserDefaults.warnings: + str = str + " warnings " + `self.warnings` if self.fetchlimit != UserDefaults.fetchlimit: str = str + " fetchlimit " + `self.fetchlimit` if self.batchlimit != UserDefaults.batchlimit: @@ -1203,6 +1207,8 @@ class UserEdit(Frame, MyWidget): Label(limwin, text="Resource Limits").pack(side=TOP) LabeledEntry(limwin, 'Message size limit:', self.limit, '30').pack(side=TOP, fill=X) + LabeledEntry(limwin, 'Size warning interval:', + 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 messages to forward per poll:', |