[Dovecot] exim4 + dovecot + SquirrelMail virtualhosted on Debian
Seth Mattinen
sethm at rollernet.us
Wed Feb 25 23:50:07 EET 2009
Tim Legg wrote:
> Hello,
>
> I have a Debian machine that is virtual-hosting 6 domains with exim4. I finally got exim4 working well enough where I can send and receive mail using the mail command on my machine. I would eventually like to have SquirrelMail (which requires IMAP) working on my website. For whatever reason, exim4 doesn't seem to support IMAP. I found out that Dovecot is a prominent IMAP server.
Exim and its counterparts (Postfix, Sendmail, etc.) is an SMTP server.
> So I installed the most current Dovecot package (1.0.rc15) in Debian. Something is broken though...
>
> As I log into SquirrelMail, I get an error message "Error connecting to IMAP server: localhost. 111 : Connection refused". To investigate, I decided to telnet localhost on port 143 and found out that yes, the connection is in fact refused.
>
> So what do I need to do in order to have dovecot listen on port 143?
>
> Also, I noticed when I restart dovecot...
>
> debian:/etc/dovecot# /etc/init.d/dovecot restart
> Restarting mail server: dovecotError: Can't use mail executable /usr/lib/dovecot/imap: No such file or directory
>
> I hope this isn't a serious problem.
>
You probably didn't install the dovecot-imap package.
~Seth
More information about the dovecot
mailing list