Add -user sogo to be on the safe side.
Change call to /bin/rmdir by -delete to avoid error messages.
Find would call rmdir and then do an openat() on the deleted directory,
which would obviously fail.
Fixes#2372
This is now usable again.
- Don't delete password files in mapistoreCleanup()
- reworked the ldb cleanup and enabled it
- sql cleanup should now be able to figure out the db info from the config
regardless of the format used (xml, plist, sogo.conf or GNUstepDefaults)
(We really need a python plist parser.. the current solution is not elegant)
- Inform user of missing python packages
don't import ldb since it is not used (yet)
comment out function that could call ldb
fix imap{host,port} usage
use 'username' instead of sys.argv[1] in pgsql cleanup...
since it it not available in py2.6
Actually use imapport + imaphost
Monotone-Parent: a223e7453cba5fece9978e8b04d3890c9d290735
Monotone-Revision: 631650bf7e67489a8bf42e8edf637b07f298ec39
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-09-04T18:49:48
Monotone-Branch: ca.inverse.sogo
* Scripts/sql-update-1.3.16_to_1.3.17.sh:
New scripts to expand c_cycleinfo to mediumtext or varchar(1000000)
The field was expanded around 1.3.3.
See http://www.sogo.nu/bugs/view.php?id=1848
Monotone-Parent: 1bcd208d669189aec549aa4351b9d92a29c6d9b9
Monotone-Revision: f489c387ef5efde7f9beee4a9b97ecf85275ffb2
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-18T15:30:38
* Scripts/sogo-init.d-*: add support for conditional restart.
Patch from Romain Le Disez
* sogo.spec: Restart sogod during post installation if it was already running
Monotone-Parent: 7fa995267c41300aff7187361273b7fe03da3809
Monotone-Revision: a7e3713b79d3ec5043152d79550eec23b2ff854f
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-24T18:09:47
Along with the associated new cronjob, this allows
user sessions expiration without a custom script.
* While there, sort tools in sogo-tool output
Monotone-Parent: 73baf2c24acbb1fb98296fc8ab448b3b3c5ba7a7
Monotone-Revision: 858274c7be3ad2a6383c2f85c8ad10907bb43292
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-04-04T20:14:52