Thanks for the nice library. Saved me some time in creating sieve scripts to handle my emails.
I had the follwing issue
c = Client(server)
c.connect(user, password, starttls=True)
script = c.getscript('Open-Xchange')
c.havespace('Open-Xchange',len(script))
c.putscript('Open-Xchange',script)
Was not working c.havespace returned true, but putscript failed. The Problem was solved by
c = Client(server)
c.connect(user, password, starttls=True)
script = c.getscript('Open-Xchange')
script.replace("\n","\r\n")
c.havespace('Open-Xchange',len(script))
c.putscript('Open-Xchange',script)
Therefore I'm wondering if this should be fixed in the library or if there is a good reason for this behavior.