View previous topic :: View next topic |
Author |
Message |
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Tue Oct 11, 2005 3:59 pm Post subject: THANK YOU!! |
|
|
To Dark_Hunter and all others helping on this forum topic,
THANK YOU!!!
I haven't had much time lately to participate on this forum or keep the HOWTO up to date. It's refreshing to see this discussion continue on even though I've been pretty much absent. Again, thank you, without your help there would be a lot of frustrated Gentoo users without a running OX installation.
Mike. |
|
Back to top |
|
|
sonix Tux's lil' helper
Joined: 12 Feb 2003 Posts: 102
|
Posted: Tue Oct 11, 2005 5:45 pm Post subject: |
|
|
I'm here to say, mucho gracias brethren! I have my ox running all nice. Gonna be notifying my users about it and im sure they will be very excited and very grateful for the help i've received from the community.
Here are some issues that could be easily addressed in a script (maybe modify adduser_ox?)
- add user to ox then add user to cyrus
- create Sent folder in cyrus
- set permanently delete deleted mail.
Best of luck to anyone who hasnt gotten ox running yet. I highly recommend using the portage tree to emerge ox. I will stick around to try to help.
Helpful tips:
USE="-ssl" emerge open-xchange << ssl works but you would have to check the gentoo wiki on open-xchange
to reset your postgres db:
/etc/init.d/postgresql stop << VERY IMPORTANT if you forget to do this, you will definitely run into problems stopping postgres later.
su - postgres
rm -R data
mkdir data
initdb data
exit
/etc/init.d/postgresql start
then run the command under HOWTO: Setup database (following commands) which should have appeared after you emerged, and ran the ebuild command.
to reset your ldap tables:
/etc/init.d/slapd stop
rm /var/lib/openldap-data/*
slapadd -l /usr/share/open-xchange/init_ldap.ldif
chown ldap:ldap /var/lib/openldap-data/* << if you get ldap_bind: Can't contact LDAP server (-1) error after you adduser, this could be your problem.
/etc/init.d/slapd restart
to create your matching imap user after you created your ox user
cyradm -user cyrus domain.com
cm user.<user>
cm user.<user>.Sent << creates sent folder you could do the same if you wanted a Draft or Spam folder.
you would have to manually go to the email acct options, subscribe to the new sent folder and set it to save your sent mail to the sent folder. might be wise to set permanently delete deleted mail in the options there as well.
look at my slapd.conf which i posted earlier. check it against yours. they should be pretty much identical.
once again,
Merci.
Last edited by sonix on Wed Dec 28, 2005 12:32 am; edited 2 times in total |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Wed Oct 12, 2005 11:21 am Post subject: |
|
|
hi to all. i'm trying to setup ox with these software:
smtp-> qmail-ldap
imap-> dovecot
now i'm fighting wit webmail i'm unable to send message. the error i see in webmail is:
unable to store message copy. Undefine error occured: A2 NO: nested expression is: com.sun.iap.CommandFaildeException A2 NO
Your message has been sent.
But in fact no message are delivered.
investigatin with loglevel 10 i found this:
Exception in ComposeMessage/storeMessageCopy
Unable to store message copy.
javax.mail.MessagingException: A2 NO ;
nested exception is:
com.sun.mail.iap.CommandFailedException: A2 NO
at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2065)
at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:386)
at com.openexchange.webmail.ComposeMessage.storeMessageCopy(ComposeMessage.java:1853)
at com.openexchange.webmail.ComposeMessage.sendMessage(ComposeMessage.java:1638)
at com.openexchange.webmail.Management.onBeforeHtmlLoad(Management.java:389)
at com.openexchange.thread.ComfireThread.validateSession(ComfireThread.java:407)
at com.openexchange.thread.ComfireThread.run(ComfireThread.java:162)
at java.lang.Thread.run(Thread.java:534)
someone can help? thank in advice! _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Wed Oct 12, 2005 12:19 pm Post subject: |
|
|
Try to open the "Options" section in webmail, go to the folder section and set the default folders, after that try it again.
Hope that helps =) |
|
Back to top |
|
|
SB n00b
Joined: 12 Jan 2004 Posts: 74 Location: At The Bar!
|
Posted: Thu Oct 13, 2005 12:19 am Post subject: |
|
|
Sorry to crosspost from my thread, but I am also having a problem...
I'm trying to add a user, but get the error:
"Undefined ERROR - LDAP CODE implementation specific"
I can't see what I've done wrong to cause this error. If I echo the LDAPCONN ( -H ldap://xxx -D cn=xxx,dc=xxx,dc=xxx -w xxx -x), and use the same connection parameters into ldapsearch, I get a list of all the LDAP objects, so I guess it's authenticating fine.
It's obviously tripping up on something, but I don't have a clue what. It's odd that it's not throwing an error code which should be LDAP CODE xx implementation specific. The users are definately not being added - the only user in the LDAP tree is the mailman user. OX was emerged without ssl support.
If anyone has any suggestions, I'd greatly appreciate it. _________________ SB
"The gene pool could use a little chlorine..." |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Thu Oct 13, 2005 6:54 pm Post subject: |
|
|
Which LDAP do you've got? |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Fri Oct 14, 2005 10:07 am Post subject: |
|
|
now i've got open-xchange sending emails.
so i went to fight with ssl support.
i get this error:
localhost openexchange: INTERNAL TLS Support: ON
error loading CA: error:02001002:system library:fopen:No such file or directory
seems to me that ox can't open ca file. i'm sure the .pem file is in the right place ad i've tryed changing permissions. _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Fri Oct 14, 2005 10:31 am Post subject: |
|
|
@sammo:
Which ox version do you use? Do you use the ebuild or by hand?
I know it is functioning with ox 0.8.0.6 except the umin part.
For the webmail part please create a symlink from /etc/open-xchange/groupware/sslcerts/ to /etc/open-xchange/webmail/sslcerts.
The groupware certs and keys get also (ab)used as webmail certs and keys. |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Fri Oct 14, 2005 11:05 am Post subject: |
|
|
Dark_Hunter wrote: | @sammo:
Which ox version do you use? Do you use the ebuild or by hand?
I know it is functioning with ox 0.8.0.6 except the umin part. |
i use the ebuild and i've installed 0.8.0.6 (modified ebuild) and 0.8.1.6.
Dark_Hunter wrote: | @sammo:
For the webmail part please create a symlink from /etc/open-xchange/groupware/sslcerts/ to /etc/open-xchange/webmail/sslcerts.
The groupware certs and keys get also (ab)used as webmail certs and keys. |
i try this. thanks _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Fri Oct 14, 2005 5:18 pm Post subject: |
|
|
hmmm.... I have reinstalled my ox after a liitle time. I unmerged tomcat, openldap, postgres, and removed all its configs and directories. Then I (again) followed Mikes how-to and every step went fine - not one error message. No I want to login and.. "ERROR: Authentification failed"
Whats going on here?
During login my syslog says: Code: | Oct 14 19:16:19 h9121 slapd[30240]: conn=5 fd=9 ACCEPT from IP=127.0.0.1:32845 (IP=0.0.0.0:389)
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=0 BIND dn="" method=128
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=0 RESULT tag=97 err=0 text=
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=1 BIND dn="uid=web1p1,ou=Users,ou=OxObjects,dc=servergeeks,dc=de" method=128
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=1 RESULT tag=97 err=49 text=
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=2 BIND dn="" method=128
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=2 RESULT tag=97 err=0 text=
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=3 BIND dn="uid=web1p1,ou=Users,ou=OxObjects,dc=servergeeks,dc=de" method=128
Oct 14 19:16:19 h9121 slapd[30240]: conn=5 op=3 RESULT tag=97 err=49 text=
|
|
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Sat Oct 15, 2005 7:11 am Post subject: |
|
|
amigafan wrote: | hmmm.... I have reinstalled my ox after a liitle time. I unmerged tomcat, openldap, postgres, and removed all its configs and directories. Then I (again) followed Mikes how-to and every step went fine - not one error message. No I want to login and.. "ERROR: Authentification failed"
|
Which ldap version do you use? If you use 2.1* have you compiled if with aci support? |
|
Back to top |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sat Oct 15, 2005 10:19 am Post subject: |
|
|
Quote: | Which ldap version do you use? If you use 2.1* have you compiled if with aci support? | Hi, I am using 2.2.28 with its included support vor ACI. I've redone the whole installation part and this time it works - so I've made an mistake somewhere in my first setup. I saw that I forgot to delete the old login.pl / login.pm files from my old installation - maybe they were not overwritten and caused this error!? Thank you anyway!
This time even the outlook connector works and it does not create all my contacts twice Now my phpldapadim doesn't work - I need it to correct my email-adress. To bad that the free version of ox doesn't have a usable admin interface for such things... |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Sat Oct 15, 2005 8:05 pm Post subject: |
|
|
tls still not working. somone has tls-working setup with open-xchange? _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Sat Oct 15, 2005 8:24 pm Post subject: |
|
|
yes, I got ox working with ox 0.8.0.6 except the setup part in the groupware.
The ebuild will be updated soon
For ox 0.8.1* is currently no way - I'm sitting and debugging |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Sun Oct 16, 2005 7:32 am Post subject: |
|
|
SB wrote: |
"Undefined ERROR - LDAP CODE implementation specific"
|
You already slapadded the ldif file, or? Where their any problems?
And questioning again, which ldap version do you've got?
Are their any messages in the logfiles (/var/log/messages)? |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Sun Oct 16, 2005 9:08 pm Post subject: |
|
|
Dark_Hunter wrote: | yes, I got ox working with ox 0.8.0.6 except the setup part in the groupware.
The ebuild will be updated soon
For ox 0.8.1* is currently no way - I'm sitting and debugging |
can you post your configuration files (ldap.conf)? how did you generate the certificates and where you place them? _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Mon Oct 17, 2005 9:14 am Post subject: |
|
|
ok, some step ahead. now i resolved the issue open-xchange can't load ca. ad seems tls is working with ox-0.8.0.6. _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
Dark_Hunter Apprentice
Joined: 28 Mar 2003 Posts: 230 Location: Germany
|
Posted: Mon Oct 17, 2005 9:41 am Post subject: |
|
|
oh sorry, forgot to post something:
here is the bug at ox:
http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=734
Some good (debugging) steps:
- add "-w" to the shebang in login.pl (this gave me the importand informations for the buggy login.pm in the apache-log, if you use the ox ebuild this should be fixed)
- increase the debug level in the ox components
- create a symlink from the groupware/sslcerts to webmail/sslcerts directory so you can also use ssl in webmail
|
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Mon Oct 17, 2005 10:15 pm Post subject: |
|
|
in the link posted abowe i see:
you can create a dynamic link from the webmail/sslcerts directory to the
groupware/sslcerts directory. Because the certitificates are the same.
To the Umin problem. Please check if all jar files are in the webapps/umin
directory are equals with the jar files from $PREFIX/lib.
this will fix the setup part of groupware working? _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
sonix Tux's lil' helper
Joined: 12 Feb 2003 Posts: 102
|
Posted: Tue Oct 18, 2005 1:00 am Post subject: |
|
|
i dont seem to be receiving any mail. i have no problem sending outgoing mail. sending mail to hotmail works fine but not to myself. Inbox is always empty but Sentbox gets updated when i send a new msg.
/etc/imapd.conf wrote: | ## change below to suit your setup.
sasl_sql_user: mailsqluser
sasl_sql_passwd: password
sasl_sql_database: mailsqldb
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT clear FROM users WHERE email = '%u@%r' |
/var/log/open-xchange/groupware.log wrote: | Oct 17 23:24:32 mail.com openexchange: No LDAP Addressbook Config-file found!
...
openexchange: WARN: uid=producer, can't load settings '/var/open-xchange/settings/intranet/producer'. File not found or not readable.
....
StackTrace:
java.io.FileNotFoundException: /var/open-xchange/settings/intranet/producer (Permission denied) |
chown tomcat:tomcat /var/open-xchange/settings fixed the permissions problem. but i am not sure what LDAP Addressbook is. |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Tue Oct 18, 2005 7:09 am Post subject: |
|
|
ok. now all seems working with tls: also the setup groupware section. the brute force solution i've found is to copy
all /usr/lib/open-xchange/ files in /opt/*-jdk-bin-*/jre/bin/ and setup correct permission.
anyone more experienced with tomcat/java has a different solution, such as setting some environment variable to help java vm to find the correc classes? _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
sammo n00b
Joined: 12 Sep 2004 Posts: 15
|
Posted: Fri Oct 21, 2005 12:25 pm Post subject: |
|
|
another question. I've found no way to get ox to talk with openldap with tls/ssl. i have two ldap server (master/slave with slurpd replication). the master server is on a remote host, so i wish to get some security with encryption. the only solution i get to work is to use stunnel to encrypt the communication between ox and the ldap master. anyone has another solution? _________________ Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
|
Back to top |
|
|
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Fri Oct 21, 2005 4:30 pm Post subject: |
|
|
Dark_Hunter wrote: | slaapkop wrote: | Hi,
When i try too log in via a browser, i get a screen wich says:
WebMail - OPEN-XCHANGE 0.8.1-3
!!! SYSTEM - ERROR !!!
|
There are several things to keep in mind.
First, make sure username and password you use for ox is equal to the password for your imap-server.
Second ox tries to connect your imap server per imap protocol default - not per imapS.
If you just have imapS listening make sure to edit your /etc/open-xchange/webmail/webmail.properties
Hope that helps |
Hi haven't tried to get the webmail running, but i realy want to.
So a view questions.
You mean the same password, the cyrus user and the password in /etc/imap.conf?
Or the password when creating the user with OX_Adduser (don't know the exact syntax)?
And how can i find out how the mailserver is listening, via imap or imaps? And how can i change that and put it in the right way in the /etc/open-xchange/webmail/webmail.properties file?
Thanks... |
|
Back to top |
|
|
sonix Tux's lil' helper
Joined: 12 Feb 2003 Posts: 102
|
Posted: Sat Oct 22, 2005 1:55 am Post subject: |
|
|
slaapkop wrote: | You mean the same password, the cyrus user and the password in /etc/imap.conf?
Or the password when creating the user with OX_Adduser (don't know the exact syntax)? |
actually, when you make your cyrus user, you will not make a password. you will only make an inbox with the cm user.<username> command. So when you login in groupware (ox) there will be a mail button that will lead you to webmail. |
|
Back to top |
|
|
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Sat Oct 22, 2005 10:29 am Post subject: |
|
|
Hi,
Do have to give a password in the webmail section then?
If log into groupware and go to the email section i get the same message as when i try to log in to the webmail section. |
|
Back to top |
|
|
|