<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — upgrade Ubuntu 10.04 => 12.04 Precise - policyd v cluebringer]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4232.xml" />
	<updated>2012-12-03T09:00:10Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4232-upgrade-ubuntu-1004-1204-precise-policyd-v-cluebringer.html</id>
		<entry>
			<title type="html"><![CDATA[Re: upgrade Ubuntu 10.04 => 12.04 Precise - policyd v cluebringer]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19334.html#p19334" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>maze wrote:</cite><blockquote><p>Anyway, it seems the mysql database formats are different for policyd and cluebringer, and I don&#039;t have any idea how to get past this. Can anyone help?</p></blockquote></div><p>Policyd doesn&#039;t provide tutorial for upgrading to Cluebringer, so you have to try it yourself. iRedMail doesn&#039;t provide one yet, sorry.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-03T09:00:10Z</updated>
			<id>http://www.iredmail.org/forum/post19334.html#p19334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: upgrade Ubuntu 10.04 => 12.04 Precise - policyd v cluebringer]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19327.html#p19327" />
			<content type="html"><![CDATA[<p>Here&#039;s the output for my dovecot.conf file that works after I upgrade Ubuntu 10.04 to 12.04 Precise:</p><p>auth_default_realm = xxxxx.org<br />auth_mechanisms = plain login<br />dict {<br />&nbsp; acl = mysql:/etc/dovecot/dovecot-share-folder.conf<br />&nbsp; expire = db:/var/lib/dovecot/expire/expire.db<br />&nbsp; quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf<br />}<br />disable_plaintext_auth = no<br />first_valid_uid = 1001<br />last_valid_uid = 1001<br />listen = *<br />log_path = /var/log/dovecot.log<br />mail_gid = 1001<br />mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/<br />mail_uid = 1001<br />managesieve_notify_capability = mailto<br />managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave<br />namespace {<br />&nbsp; inbox = yes<br />&nbsp; location = <br />&nbsp; prefix = <br />&nbsp; separator = /<br />&nbsp; type = private<br />}<br />namespace {<br />&nbsp; list = children<br />&nbsp; location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u<br />&nbsp; prefix = Shared/%%u/<br />&nbsp; separator = /<br />&nbsp; subscriptions = yes<br />&nbsp; type = shared<br />}<br />passdb {<br />&nbsp; args = /etc/dovecot/dovecot-ldap.conf<br />&nbsp; driver = ldap<br />}<br />plugin {<br />&nbsp; acl = vfile<br />&nbsp; acl_shared_dict = proxy::acl<br />&nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; autocreate = INBOX<br />&nbsp; autocreate2 = Sent<br />&nbsp; autocreate3 = Trash<br />&nbsp; autocreate4 = Drafts<br />&nbsp; autocreate5 = Junk<br />&nbsp; autosubscribe = INBOX<br />&nbsp; autosubscribe2 = Sent<br />&nbsp; autosubscribe3 = Trash<br />&nbsp; autosubscribe4 = Drafts<br />&nbsp; autosubscribe5 = Junk<br />&nbsp; expire = Trash 7 Trash/* 7 Junk 30<br />&nbsp; expire_dict = proxy::expire<br />&nbsp; quota = dict:user::proxy::quotadict<br />&nbsp; quota_rule = *:storage=0<br />&nbsp; quota_warning = storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85<br />&nbsp; quota_warning2 = storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90<br />&nbsp; quota_warning3 = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95<br />&nbsp; sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve<br />&nbsp; sieve_dir = /var/vmail/sieve/%Ld/%Ln/<br />}<br />protocols = pop3 imap<br />service auth {<br />&nbsp; unix_listener /var/spool/postfix/dovecot-auth {<br />&nbsp; &nbsp; group = postfix<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = postfix<br />&nbsp; }<br />&nbsp; unix_listener auth-master {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />&nbsp; user = vmail<br />}<br />ssl_ca = &lt;/etc/ssl/certs/gd_bundle.crt<br />ssl_cert = &lt;/etc/ssl/certs/imap.xxxx.org.crt<br />ssl_key = &lt;/etc/ssl/private/mail.server.key<br />userdb {<br />&nbsp; args = /etc/dovecot/dovecot-ldap.conf<br />&nbsp; driver = ldap<br />}<br />protocol lda {<br />&nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; log_path = /var/log/sieve.log<br />&nbsp; mail_plugins = quota sieve autocreate<br />&nbsp; postmaster_address = root<br />}<br />protocol imap {<br />&nbsp; imap_client_workarounds = tb-extra-mailbox-sep<br />&nbsp; mail_plugins = quota imap_quota autocreate<br />}<br />protocol pop3 {<br />&nbsp; mail_plugins = quota<br />&nbsp; pop3_client_workarounds = outlook-no-nuls oe-ns-eoh<br />&nbsp; pop3_uidl_format = %08Xu%08Xv<br />}</p>]]></content>
			<author>
				<name><![CDATA[maze]]></name>
				<uri>http://www.iredmail.org/forum/user14194.html</uri>
			</author>
			<updated>2012-12-02T04:55:55Z</updated>
			<id>http://www.iredmail.org/forum/post19327.html#p19327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[upgrade Ubuntu 10.04 => 12.04 Precise - policyd v cluebringer]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19326.html#p19326" />
			<content type="html"><![CDATA[<p>Hi,<br />When I upgraded my host OS, I had to slog through getting dovecot.conf switched to the new file format, and I had to deal with a host of other problems presented by the upgrade. I got everything back on line...&nbsp; except policyd v2 aka cluebringer.</p><p>Anyway, it seems the mysql database formats are different for policyd and cluebringer, and I don&#039;t have any idea how to get past this. Can anyone help?</p><p>I had to disable policyd checking in postfix/main.cf, but I&#039;d like to have it turned on.</p><p>Thanks,</p><p>Maze</p><br /><br /><p>BTW, if it helps anyone else upgrading, you have to manually install (apt-get install xxx ) (the upgrade process doesn&#039;t do it automatically:<br />dovecot-sieve - sieve filters support for Dovecot<br />dovecot-managesieved - secure ManageSieve server for Dovecot</p><p>Also, the command # dovecot -n <br />is your friend to debug the dovecot.conf file.</p><p>Also, if anyone cares, the server is running on AWS EC2</p><p>==== Required information ====<br />- iRedMail version: around 0.8.x<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: Ubuntu 12.04<br />- Related log if you&#039;re reporting an issue: <br />====</p>]]></content>
			<author>
				<name><![CDATA[maze]]></name>
				<uri>http://www.iredmail.org/forum/user14194.html</uri>
			</author>
			<updated>2012-12-02T04:49:58Z</updated>
			<id>http://www.iredmail.org/forum/post19326.html#p19326</id>
		</entry>
</feed>
