View Full Version : IMAP -Dare I ask?!
netmotiv8
10-20-2003, 08:10 AM
Hi,
For fear of being flamed :D
Any news on the IMAP development. I read some snippets from the forum recently suggesting it was 'almost done'.
We are building a new hosting server this week and looking to purchase and install DA at the same time, but only if IMAP is a feature. We have chosen to delay the build whilst we wait for DA with IMAP.
Kind Regards.
Neil
The Prohacker
10-20-2003, 10:06 AM
I know its in the development stages.. But I'm not sure how far it is out... To be safe.. Lets guess a month :D
DirectAdmin Support
10-20-2003, 10:37 AM
Hello,
I'm going to try and release the BETA *today* :D ... ill reply to this thread with information on how to install it. It will be something quite simple, along the lines of download the binary for your os, and setup the xinetd for imap and restart xinetd. Should be quite straight forward. I've set it up to create all required directories on the fly, so there is no need to fight with any paths. The "maildir" (home for mail) will be ~username/mail for system accounts, and ~username/imap/domain.com/user/mail for virtual accounts. The system account will be able to view all virtual accounts, with domain.com folders separating the domains. Remember this is *beta* so, play with it, try to break it, try and do things you're not supposed to etc :D ...
John
netmotiv8
10-20-2003, 11:07 AM
great! i wait for your reply :D
DirectAdmin Support
10-20-2003, 01:07 PM
Hello,
Imap is ready for testing. Just run the following:
wget -O /usr/sbin/imapd http://files.directadmin.com/services/<os>/imapd
chmod 755 /usr/sbin/imapdWhere <os> is one of
7.2 7.3 8.0 9.0 freebsd4.8
Then you'll need to setup xinetd (or inetd for freebsd):
RedHat:
put the following data into : /etc/xinetd.d/imap
# default: on
# description: imapd
service imap
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}And then type: service xinetd restart
freebsd:
add the following line into /etc/inetd.conf:
imap4 stream tcp nowait root /usr/sbin/imapd imapdThen run:
kill `cat /var/run/inetd.pid`
/usr/sbin/inetd -wW
John
exposed
10-21-2003, 12:36 AM
Thanks for the IMAP :)
exposed
10-21-2003, 09:33 AM
Is there a way to enable SSL on this IMAP or must i use a encryption tunnel/wrapper around imap?
DirectAdmin Support
10-21-2003, 09:51 AM
Hello,
TLS should be available already, but if you want SSL, you'll probably need to figure out a wrapper. (I havn't thought that far ahead! :) )
John
exposed
10-21-2003, 11:04 AM
OK,
Install STUNNEL (www.stunnel.org)
Add an extra service in /etc/xinetd.d/ called imaps
# default: on
# description: imaps / port 993
service imaps
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/stunnel
server_args = -T -p /etc/stunnel/stunnel.pem -l /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}
Where /etc/stunnel/stunnel.pem is your PEM file (Read the stunnel FAQ for creating such PEM file)
after that do " service xinetd restart " and your done...
nebukazar
10-21-2003, 03:24 PM
Wow !! Thanks for IMAP ;)
I just installed IMAP correctly but there's a little prob. My admin emails login are not working. It keep asking for a user - pasword.
I'm using something like ltellier@3logics.com and the password.
Is there a way to fix it ?
Thanks again !
nebukazar
10-21-2003, 08:30 PM
here might be a clue :
/usr/sbin/exim -bt ltellier@3logics.com
LOG: MAIN
lowest numbered MX record points to local host: 3logics.com (while routing <ltellier@3logics.com>)
ltellier@3logics.com cannot be resolved at this time:
lowest numbered MX record points to local host
3logics.com should be the main site I added to the user admin.
nebukazar
10-21-2003, 08:49 PM
well, I fixed the problem by creating a new user with 3logics.com as the domain name. Dunno why it didn't worked with the admin user but it's working fine now. ^.^
jasonyates
10-23-2003, 01:54 PM
Hello,
Just letting you know i have been running IMAP for 2 days now with no problems...its great.
Thanks John.
hostpc.com
10-24-2003, 05:34 AM
So far, everyone's happy? Nothing major gonna break if I try this? :)
exposed
10-24-2003, 06:25 AM
Seems to work just fine,
Only thing i missing is the configuration options of the IMAPD.
Hopefully this will be there soon.
Helo,
before ..... i know that DA doesnt support IMAP, so today i tried to installed imap by own, but not working,
then I go to DA forum, search the imap, and got this thread, wow, it works now, thanks John,
so ... i think DA must give announce via. email if DA have new features, so we no need to check forum often.
nebukazar
10-25-2003, 09:02 AM
4 days so far and nothing major happened.
Thanks John :)
hostpc.com
10-25-2003, 09:14 AM
Hmmm... any reason why xinetd wouldn't exist in /etc/init.d ?
I don't have that file, therefore I can't restart it -
Suggestions?
hostpc.com
10-25-2003, 10:36 AM
nevermind, somehow the RPM was unistalled, I just re-installed it.
Joe
thoroughfare
10-27-2003, 04:17 PM
How's IMAP looking then? When will it be released?
I'm getting my DA VDS tomorrow :D
Matt
hostpc.com
10-27-2003, 04:40 PM
IMAP is out and running fine.
thoroughfare
10-27-2003, 04:47 PM
When will it be included as standard (secure) DA install?
Cheers,
Matt
DirectAdmin Support
10-28-2003, 09:53 AM
I'll try to add it to the next release, which should be ready to go either later today, or in a few days. I'll also add it to update for system that don't currently have it.
John
nobaloney
10-28-2003, 11:31 AM
John,
Are you automagically converting old mbox format to Maildir?
Jeff
Which version of IMAP are you including? I'm curious since I've been looking at the config.php parameters for Squirrelmail (version 1.4.2) and trying to determine the correct settings and paths. I'm new to DA so if anyone else here has looked into these already and wants to share :)
The quick stuff I need is IMAP server type (Courier, Cyrus, Exchange, UW, other) and some directory specific stuff.
DirectAdmin Support
10-28-2003, 01:06 PM
Hello,
It's UW-Imap 2002e which uses IMAP4rev1
Path for system user:
/home/username/mail
path for virtual users:
/home/username/imap/domain.com/user/mail
John
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.