Install or enable IMAP

Mitnick

Verified User
Joined
Mar 19, 2007
Messages
25
Hi,

I have DirectAdmin installed on my server but can´t get the IMAP to run.

The following error message i get from SquirrelMail

Error connecting to IMAP server: localhost.
111 : Connection refused

I searched trough the forum but didn´t found anything that helped me.

Im running on Linux with vm-pop3d. I did try to do as told in this post http://www.directadmin.com/forum/showthread.php?t=14160&highlight=Error+connecting+IMAP+server

When i run # ps xua | grep inetd
I get:
root 25371 0.0 0.0 2880 812 pts/1 S+ 20:29 0:00 grep inetd

And when u run # /usr/sbin/inetd
I get:
bash: /usr/sbin/inetd: No such file or directory

I also did try # /usr/sbin/inetd -wW
I get:
bash: /usr/sbin/inetd: No such file or directory

Please help, Thank you.
 
I think that you have xinetd, not inetd :) Try converting to dovecot, it's much better:
Code:
cd /usr/local/directadmin/customapache
./build update
./build update_dovecot
./build dovecot
./build todovecot
/etc/rc.d/init.d/dovecot restart
echo "action=delete&value=mbox" >> /usr/local/directadmin/data/task.queue

If you don't want to switch to dovecot: http://help.directadmin.com/item.php?id=18
 
Hi and think you fore your help. I appreciate it.

I did as above:
cd /usr/local/directadmin/customapache
./build update
./build update_dovecot
./build dovecot
./build todovecot
/etc/rc.d/init.d/dovecot restart
echo "action=delete&value=mbox" >> /usr/local/directadmin/data/task.queue

I think everything wen´t fine but now when i try to use SquirrelMail i get the folllowing error:
ERROR: Connection dropped by IMAP server.
 
Try:
Code:
service dovecot restart
and see if it helps. If not, try:
Code:
 rm -f /usr/sbin/imapd
 cd /usr/local/directadmin/scripts
 ./imapd.sh
 
Hi smtalk and thank you for your help.

When i do the "service dovecot restart" command i get the following
bash: service: command not found

Also:
root@server:/usr/local/directadmin/scripts# rm -f /usr/sbin/imapd
root@server:/usr/local/directadmin/scripts#

And then in /usr/local/directadmin/scripts:
root@server:/usr/local/directadmin/scripts# ./imapd.sh
cat: /var/run/inetd.pid: No such file or directory
Usage:
kill pid ... Send SIGTERM to every process listed.
kill signal pid ... Send a signal to every process listed.
kill -s signal pid ... Send a signal to every process listed.
kill -l List all signal names.
kill -L List all signal names in a nice table.
kill -l signal Convert between signal numbers and names.
./imapd.sh: line 22: /usr/sbin/inetd: No such file or directory
root@server:/usr/local/directadmin/scripts#

--

I know this is a pain and i appreciate your help.
 
Please contact me on MSN, ICQ or Skype and I will fix your problem.
 
Hi smtalk,

Thank you very much for your help i really appreciate it. However the email i gave you is the only one that works, and only for that domain. Emails with other domains hosted on the server do not work and i can´t even send emails from these addresses?.

Any ideas?
 
Hi,

I can now rechive emails but i can´t send from any client email accounts. Somehow i managed to fix that one but still can´t send mail.

And when i send mail using squirrelmail i get no errors, it just doesn´t go trough.

Thank you....
 
How are you tyring to send emails? Through webmail? Squirrelmail? A local client?

Do you get any errors?

Try watching the /var/log/exim/mainlog file WHILE you're attempting to send an email.

Jeff
 
Back
Top