From 3e1dcfa582687258c8ef93604bd6882e9b3e40c6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 5 Jun 2001 06:57:59 +0000 Subject: Tracepolls switch implemented. svn path=/trunk/; revision=3337 --- fetchmailconf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fetchmailconf') diff --git a/fetchmailconf b/fetchmailconf index ab4aa9de..e9924127 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -4,7 +4,7 @@ # by Eric S. Raymond, . # 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: -- cgit v1.2.3