aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-06-05 06:57:59 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-06-05 06:57:59 +0000
commit3e1dcfa582687258c8ef93604bd6882e9b3e40c6 (patch)
tree3b74bc8a5d511e8b900653d9d5a400e583072f1e /fetchmailconf
parent6fa2bfb1da93ab763e3df6d8bf1ae9e0fa6a99a1 (diff)
downloadfetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.tar.gz
fetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.tar.bz2
fetchmail-3e1dcfa582687258c8ef93604bd6882e9b3e40c6.zip
Tracepolls switch implemented.
svn path=/trunk/; revision=3337
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf9
1 files changed, 7 insertions, 2 deletions
diff --git a/fetchmailconf b/fetchmailconf
index ab4aa9de..e9924127 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.35"
+version = "1.36"
from Tkinter import *
from Dialog import *
@@ -94,6 +94,7 @@ class Server:
self.plugout = None # Plugin command for going to listener
self.netsec = None # IPV6 security options
self.principal = None # Kerberos principal
+ self.tracepolls = FALSE # Add X-Fetchmail-Account header?
self.users = [] # List of user entries for site
Server.typemap = (
('pollname', 'String'),
@@ -116,7 +117,8 @@ class Server:
('plugin', 'String'),
('plugout', 'String'),
('netsec', 'String'),
- ('principal','String'))
+ ('principal','String'),
+ ('tracepolls','String'))
def dump(self, folded):
res = ""
@@ -166,6 +168,9 @@ class Server:
else:
res = res + " "
+ if self.tracepolls:
+ res = res + "tracepolls\n"
+
if self.interface:
res = res + "interface " + str(self.interface)
if self.monitor: