imapd 2004.g

Can anyone from the DA team comment on this? Is a new package going to be released?
 
Hello,

/services/da_imap-2004g.tar.gz

To install it, type:
Code:
wget [url]http://files.directadmin.com/services/da_imap-2004g.tar.gz[/url]
tar xvzf da_imap-2004g.tar.gz
cd imap-2004g
./buildit
(press y to the question)
cd imapd
cp imapd /usr/sbin/imapd
chmod 755 /usr/sbin/imapd
John
 
Would you also build a new imapd for freebsd users? Or could wo also build from that tar.gz
 
DirectAdmin Support said:
Hello,

/services/da_imap-2004g.tar.gz

To install it, type:
Code:
wget [url]http://files.directadmin.com/services/da_imap-2004g.tar.gz[/url]
tar xvzf da_imap-2004g.tar.gz
cd imap-2004g.tar.gz
./buildit
(press y to the question)
cd imapd
cp imapd /usr/sbin/imapd
chmod 755 /usr/sbin/imapd
John

For the copy/pasters :) A small fix ;)

Code:
wget [url]http://files.directadmin.com/services/da_imap-2004g.tar.gz[/url]
tar xvzf da_imap-2004g.tar.gz
cd [B]imap-2004g[/B]
./buildit
(press y to the question)
cd imapd
cp imapd /usr/sbin/imapd
chmod 755 /usr/sbin/imapd
 
Last edited:
Hello,

It should work for freebsd as well (As far as the "./buildit" command is concerned). I'm not positive about the libraries setup in the Makefiles though, they might be different.

John
 
DirectAdmin Support said:
Hello,

/services/da_imap-2004g.tar.gz

To install it, type:
Code:
wget [url]http://files.directadmin.com/services/da_imap-2004g.tar.gz[/url]
tar xvzf da_imap-2004g.tar.gz
cd imap-2004g.tar.gz
./buildit
(press y to the question)
cd imapd
cp imapd /usr/sbin/imapd
chmod 755 /usr/sbin/imapd
John
in debian just run this before the build:
apt-get install libkrb5-dev
 
[root@www0 imap-2004g]# ./buildit
make sslnone
make[1]: Entering directory `/root/imap-2004g'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in NON-COMPLIANCE with RFC 3501 security requirements:
+ Non-compliant:
++ TLS/SSL encryption is NOT supported
++ Unencrypted plaintext passwords are permitted

Is there a reason this is "non compliant" ?
 
freebsd users do this before the buildit step, this had the same issue as the last version of the imapd src package.

nano Makefile
line 253 (DA added this line so not sure of side affects of this but hasnt caused me harm yet)
comment out line 253

./buildit
(press y to the question)
cd imapd
cp imapd /usr/sbin/imapd
chmod 755 /usr/sbin/imapd
 
Problem while installing

Hi, I get the following error message so I cannot install under Freebsd 5.3
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: cannot find -ldl
*** Error code 1

Stop in /pic/da/imap-2004g/mtest.
*** Error code 1

Stop in /pic/da/imap-2004g.
*** Error code 1

Stop in /pic/da/imap-2004g.

Can somebody please tell me how to fix it?

Thanks
 
hostpc.com said:
[root@www0 imap-2004g]# ./buildit
make sslnone
make[1]: Entering directory `/root/imap-2004g'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in NON-COMPLIANCE with RFC 3501 security requirements:
+ Non-compliant:
++ TLS/SSL encryption is NOT supported
++ Unencrypted plaintext passwords are permitted

Is there a reason this is "non compliant" ?

See docs/SSLBUILD from the tarball for more information.

You can try editing buildit to build to support SSL:

Code:
#!/bin/sh
OS=`uname`
if [ "$OS" = "FreeBSD" ]; then
        make bsf SSLTYPE=unix
else
        make slx SSLTYPE=unix
fi

or be fully "compliant":

Code:
#!/bin/sh
OS=`uname`
if [ "$OS" = "FreeBSD" ]; then
        make bsf SSLTYPE=unix.nopwd
else
        make slx SSLTYPE=unix.nopwd
fi

But you may want to be prepared to support users that will no longer be able to login with unencrypted passwords.

(We're using the former of the two buildits listed above to support SSL for our users.)

Andy
 
Re: Problem while installing

moises2k said:
Hi, I get the following error message so I cannot install under Freebsd 5.3
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: cannot find -ldl
*** Error code 1

Stop in /pic/da/imap-2004g/mtest.
*** Error code 1

Stop in /pic/da/imap-2004g.
*** Error code 1

Stop in /pic/da/imap-2004g.

Can somebody please tell me how to fix it?

Thanks

did you bother to read my post the one above yours :)
 
John thanks as always for your timely update. One question, currently I'm using stunnel to provide secure IMAP. If I make the changes to the buildit script to enable SSL, I will not need stunnel anymore for IMAP correct?

Thanks,
Dustin
 
Hello,

I believe you'd leave everything as is. With the imap binary supporting ssl, it would enable users to connect to port 143 in plaintext, then use the new "STARTLS" method to switch the connection over to ssl (I believe). This saves needing a 2nd port for ssl. Both would work on 143. The way you've got it (likely) with ssl on a 2nd port would be fine as is. The imap binary would be plaintext on both ports (as far as the binary is concerned), but the stunnel would do the ssl bit, right from the get-go on the ssl port.

John
 
Back
Top