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_b
ug.cgi?id=1956
------- Additional Comments From pav5088 internode.on.net 2008-02-29 11:56 -------
Created an attachment (id=605)
--> (http://bugzilla.opengroupware.or
g/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 <username> -p
<password>
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/Resource
s/
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/Resource
s/
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.
--
OpenGroupware.org Documentation
documentation opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/docum
entation
|