diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-07-07 19:51:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-07-07 19:51:59 +0000 |
commit | 1f79c134a1c171ebe56222a5cdd30cb335aa397f (patch) | |
tree | 91a490a3444216d301510dba9c82d1eab5bbdba0 /fetchmailconf | |
parent | 74950214904a0a0ea36705ad900af32736a5c785 (diff) | |
download | fetchmail-1f79c134a1c171ebe56222a5cdd30cb335aa397f.tar.gz fetchmail-1f79c134a1c171ebe56222a5cdd30cb335aa397f.tar.bz2 fetchmail-1f79c134a1c171ebe56222a5cdd30cb335aa397f.zip |
Dump plugin and plugout options properly.
svn path=/trunk/; revision=3410
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fetchmailconf b/fetchmailconf index fc4613c2..60043f05 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -172,14 +172,18 @@ class Server: res = res + "tracepolls\n" if self.interface: - res = res + "interface " + str(self.interface) + res = res + " interface " + str(self.interface) if self.monitor: res = res + " monitor " + str(self.monitor) + if self.plugin != ServerDefaults.plugin: + res = res + " plugin " + `self.plugin` + if self.plugout != ServerDefaults.plugout: + res = res + " plugout " + `self.plugout` if self.netsec: res = res + " netsec " + str(self.netsec) if self.principal: res = res + " principal " + `self.principal` - if self.interface or self.monitor or self.netsec or self.principal: + if self.interface or self.monitor or self.netsec or self.principal or self.plugin or self.plugout: if folded: res = res + "\n" |