From documentation@opengroupware.org Fri Feb 29 10:52:21 2008 From: documentation@opengroupware.org (documentation@opengroupware.org) Date: Fri, 29 Feb 2008 11:52:21 +0100 (CET) Subject: [OGo-Documentation] [Bug 1956] Wanted : Include Easy Install Scripts (attached) Message-ID: <20080229105221.950A528F0D2@bugzilla.opengroupware.org> Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1956 ------- Additional Comments From pav5088@internode.on.net 2008-02-29 11:48 ------- >From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-0etch1) Description of problem: Installation of OpenGroupware is an involved process. Attached are scripts for installing nightly debs under Debian Etch. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Additional info: ------- Additional Comments From pav5088@internode.on.net 2008-02-29 11:52 ------- Created an attachment (id=604) --> (http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=604&action=view) A script for installing OGo from nightly debs This script does the following : Prepare Package System Edit /etc/apt/sources.list and add the following line : deb http://download.opengroupware.org/nightly/packages/debian etch trunk ...then execute the following : apt-get update Install and Setup Postgresql 8.1 + Apache2 **Note : don't use dselect. Obsolete versions of Apache and Postgresql will be automatically installed if dselect is used to automatically resolve dependancies. apt-get install postgresql-8.1 apache2 ** Enable apache2 rewrite and include modules : a2enmod rewrite a2enmod include ...or you can do it the longhanded way : ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled/include.load Install and Setup OpenGroupware apt-get install opengroupware.org libapache2-mod-ngobjweb opengroupware.org-environment ? - use these : opengroupware.org-skyaptnotify opengroupware.org-webmail-tools Skyaptnotify is a little program which reminds OpenGroupware.org users via mail of upcoming appointments. Webmail-tools contains some tools that enhance the webmailing component of OpenGroupware.org. In particular, the following tools are part of the package: * sky_send_bulk_messages: Required for mailing lists in the OpenGroupware.org webmailer. * sky_install_sieve: Required for installing Sieve filters from the OpenGroupware.org webmailer. The filters are stored in an internal format in OpenGroupware.org and sky_install_sieve is invoked to convert that into Sieve and transfer it to the server. * ogo-instfilter-procmail: Same as sky_install_sieve but for procmail. ** apache2: Syntax error on line 195 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/opengroupware.org-resources-1.1 seems to work after apt-get complete ** opengroupware.org-environment : Adding user and group ogo... done Set up application defaults... done Set up local database... Shall the new role be allowed to create more new roles? (y/n) – Y (what are the implications of this????) ** Enable automatic loading of opengroupware on reboot by linking /etc/init.d/opengroupware.org to run in various runlevels: ln -s /etc/init.d/opengroupware.org /etc/rc2.d/S92opengroupware.org ln -s /etc/init.d/opengroupware.org /etc/rc3.d/S92opengroupware.org ln -s /etc/init.d/opengroupware.org /etc/rc4.d/S92opengroupware.org ln -s /etc/init.d/opengroupware.org /etc/rc5.d/S92opengroupware.org .... ...then restart apache... /etc/init.d/apache2 restart ...and restart opengroupware... /etc/init.d/opengroupware.org restart ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. From documentation@opengroupware.org Fri Feb 29 10:58:00 2008 From: documentation@opengroupware.org (documentation@opengroupware.org) Date: Fri, 29 Feb 2008 11:58:00 +0100 (CET) Subject: [OGo-Documentation] [Bug 1956] Wanted : Include Easy Install Scripts (attached) Message-ID: <20080229105800.69E9C28EBA4@bugzilla.opengroupware.org> Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1956 ------- Additional Comments From pav5088@internode.on.net 2008-02-29 11:56 ------- Created an attachment (id=605) --> (http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=605&action=view) A script for installing cyrus+postfix to auth against OGo The script does the following : apt-get install cyrus-imapd-2.2 postfix libpam-pgsql sasl2-bin libpam-pgsql Edit /etc/default/saslauthd and set START=yes start saslauthd ---> /etc/init.d/saslauthd restart Find the automatically generated ogo database password in /etc/opengroupware.org/ogo/Defaults/NSGlobalDomain.plist and note it down. Create /etc/pam_pgsql.conf file as follows (substituting the password for the one created in your own installation) : database = ogo host = localhost user = ogo password = ??????? table=person user_column=login pwd_column=password pw_type=crypt_md5 ** Should we create a database view here? Edit /etc/pam.d/imap to contain the following : auth required pam_pgsql.so account required pam_pgsql.so #password required pam_pgsql.so Test the saslauthd configuration by using the following command : testsaslauthd -s imap -u -p Substitute the username and password of the Ogo account created previously. ** NOTE: I've had problems TWICE due to typos in /etc/pam_pgsql.conf – ie. typing pwd_type instead of pw_type, or passwd instead of password. Postfix config : Is your postfix configured correctly? To check : dpkg-reconfigure postfix Be sure procmail isn't used for postfix local delivery (cyrus is used). Also check relaying is limited to networks considered local etc... Edit /etc/postfix/main.cf and add : mailbox_transport=lmtp:unix:/var/run/cyrus/socket/lmtp Edit /etc/postfix/master.cf to make the lmtp entry look as follows : lmtp unix - - n - - lmtp Adding the ā€œnā€ means the lmtp daemon will not run chrooted. Edit /etc/imapd.conf changing the following lines : sasl_pwcheck_method: saslauthd #allows use of PAM autocreatequota: -1 #no maximum number of folders created, but autocreation allowed ...and add this line : autocreateinboxfolders: Sent | Drafts | Trash | Junk *** instructions as per /usr/share/doc/cyrus-imapd-2.2/README.postfix.gz *** Issue the following commands : addgroup lmtp adduser postfix lmtp dpkg-statoverride --force --update --add cyrus lmtp 750 /var/run/cyrus/socket /etc/init.d/postfix restart /etc/init.d/cyrus2.2 restart *** *** To automatically specify login, password and host for email/IMAP : Edit Defaults.plist in /usr/lib/opengroupware.org-1.1/webui/OGoWebMail.lso/Resources/ UseSkyrixLoginForImap = YES imap_host = 127.0.0.1 imap_host_editable = NO ------- Additional Comments From pav5088@internode.on.net 2008-02-29 11:57 ------- oops... the cyrus+postfix script does NOT do the following : To automatically specify login, password and host for email/IMAP : Edit Defaults.plist in /usr/lib/opengroupware.org-1.1/webui/OGoWebMail.lso/Resources/ UseSkyrixLoginForImap = YES imap_host = 127.0.0.1 imap_host_editable = NO ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.