<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://morison.biz/technotes/feeds/rss.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:icbm="http://postneo.com/icbm/" 
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/" 
	xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 
	xmlns:wfw="http://wellformedweb.org/CommentAPI/" >

<channel>
	<title>Comments for: Web-Cyradm Install</title>
	<link>http://morison.biz/technotes/articles/45</link>
	<description>Web-Cyradm provides web based admin of accounts, quotas and domains, along with domain level admins. Installation is not difficult...as long as you use the right version and settings.

Preliminaries

You'll need to come up with 4 passwords for this section. The first 3 are entirely internal. Once configured, the passwords should be tucked away and not needed, except in an emergency debug of some kind.
 MySQL &quot;root&quot; user - Don't run MySQL without a root user password. The installer will ask for it. Note that this is a database user, internal to MySQL and having nothing to do with login users or mail users.
 MySQL &quot;mail&quot; user - Another MySQL user, for accessing the soon to be created mail database.
 Web-Cyradm &quot;cyrus&quot; user - When we configured /etc/cyrus.conf we designated &quot;cyrus&quot; as an admin user. Web-Cyradm will need this user, and we'll set the password when we configure Web-Cyradm. This user is internal to the Web-Cyradm app.
 Web-Cyradm &quot;admin&quot; user - This is the initial admin user once the website is up and running.
Jot those passwords down in a safe place.
Apache + PHP

Web-Cyradm is a PHP app that uses a MySQL db. Let's start with Apache &amp; PHP.
 Install apache2 with php
sudo apt-get install apache2 php5 libapache2-mod-php5 php5-cli php5-mysql
 PEAR &amp; imap support - Used by Web-Cyradm &amp; webmail apps
sudo apt-get install php-db php5-imap
 Open Port 80
sudo ufw allow http
 Test Apache+PHP

echo &quot;
&amp;lt;?php
print_r (phpinfo());
?&amp;gt;&quot; &amp;gt;/tmp/phpinfo.php
sudo mv /tmp/phpinfo.php /var/www
sudo /etc/init.d/apache2 restart

Browse to http://mailserver.example.domain/phpinfo.php
 Clean up
sudo rm /var/www/phpinfo.php
MySQL with PAM &amp; Postfix Config

 Install MySQL Server - The installer will ask for that MySQL root password.
sudo apt-get install mysql-server
 Relocate MySQL Socket to Postfix ...</description>
	<language>en</language>
	<copyright>2006-2008, Rod Morison Software</copyright>
	<managingEditor>technotes@morison.biz</managingEditor>
	<lastBuildDate>Thu, 09 Sep 2010 01:44:29 GMT</lastBuildDate>
	<generator>Yet Another Community System</generator>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>70</ttl>

	<item>
		<title>I had to manually add a link &quot;sudo ln -s ...</title>
		<link>http://morison.biz/technotes/comments/10</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/10</guid>
		<description>I had to manually add a link &quot;sudo ln -s /var/spool/postfix/var/run/mysqld /var/run/mysqld&quot; to make web-cyradm run</description>
		<body xmlns="http://www.w3.org/1999/xhtml">I had to manually add a link "sudo ln -s /var/spool/postfix/var/run/mysqld /var/run/mysqld" to make web-cyradm run</body>
		<dc:creator></dc:creator>
		<category>Web-Cyradm Install</category>
		<pubDate>Fri, 29 May 2009 02:42:02 GMT</pubDate>
	</item>

	<item>
		<title>Tithtola:Hi,

I cannot create account. The problem is error with ...</title>
		<link>http://morison.biz/technotes/comments/12</link>
		<guid isPermaLink="true">http://morison.biz/technotes/comments/12</guid>
		<description>Hi,



I cannot create account. The problem is error with imap login. Can you solve it for me? please...



Thanks



IMAP-Error.jpg</description>
		<body xmlns="http://www.w3.org/1999/xhtml">Hi,<br />
<br />
I cannot create account. The problem is error with imap login. Can you solve it for me? please...<br />
<br />
Thanks<br />
<br />
<a href="http://morison.biz/technotes/files/8-IMAP-Error.jpg" title="View file details" class="file">IMAP-Error.jpg</a></body>
		<dc:creator>tithtola</dc:creator>
		<category>Web-Cyradm Install</category>
		<pubDate>Sat, 05 Sep 2009 10:27:07 GMT</pubDate>
	</item>

</channel>
</rss>