--- smeserver-zarafa-0.9.0/createlinks.install 2008-12-22 21:50:13.000000000 +1100 +++ smeserver-zarafa-0.9.0/createlinks 2008-12-22 21:58:40.000000000 +1100 @@ -32,3 +32,19 @@ service_link_enhanced("zarafa-spooler", "K46", "6"); service_link_enhanced("zarafa-server", "K47", "6"); +foreach $event (qw( post-upgrade email-update )) +{ + templates2events("/etc/zarafa/dagent.cfg", "$event"); + templates2events("/etc/zarafa/gateway.cfg", "$event"); + templates2events("/etc/zarafa/ical.cfg", "$event"); + templates2events("/etc/zarafa/licensed", "$event"); + templates2events("/etc/zarafa/monitor.cfg", "$event"); + templates2events("/etc/zarafa/server.cfg", "$event"); + templates2events("/etc/zarafa/spooler.cfg", "$event"); + templates2events("/etc/zarafa/unix.cfg", "$event"); + templates2events("/etc/zarafa/ldap.cfg", "$event"); +} + +templates2events("/etc/e-smith/sql/init/80zarafa", "post-upgrade"); + + --- smeserver-zarafa-0.9.0/root/etc/e-smith/db/configuration/migrate/80zarafa.install 2008-12-22 21:48:10.000000000 +1100 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/db/configuration/migrate/80zarafa 2008-12-22 21:48:35.000000000 +1100 @@ -1,4 +1,13 @@ { + $DB->set_prop('pop3', 'TCPPort', '8110'); + $DB->set_prop('pop3s', 'TCPPort', '8995'); + $DB->set_prop('imap', 'TCPPort', '8143'); + $DB->set_prop('imaps', 'TCPPort', '8993'); + $DB->set_prop('pop3', 'status', 'disabled'); + $DB->set_prop('pop3s', 'status', 'disabled'); + $DB->set_prop('imap', 'status', 'disabled'); + $DB->set_prop('imaps', 'status', 'disabled'); + use MIME::Base64 qw(encode_base64); my $rec = $DB->get('zarafa-server') || $DB->new_record('zarafa-server', {type => 'service'});