Richard
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It’s fast, simple to set up, requires no special administration and it uses very little memory.
First you need to download the latest version, which you can find on the download page of the dovecot site. We’ve used 1.2 for the first supported version. See the blog for further updates on this.
Unpack the Dovecot source into a directory, use the Terminal and ‘cd’ into the directory where you unpacked it. Issue the following commands as a normal user:
For Intel use:
CXXFLAGS="-arch x86_64"
For PowerPC use
CXXFLAGS="-arch ppc64"
Follow for both with:
This will create the appropriate Makefile for compiling dovecot with support for MySQL, SSL and will set the configuration directory to ‘/etc/dovecot’. If that all went without problems then follow with:
If that also went without problems you are ready for installing:
That is it for now, ready for the next step:
Installing Postfixadmin 2.2.x



Comments
9:30 pm
But what if we have some problems?
After the ./configure line I get:
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… ./install-sh -c -d
checking for gawk… no
checking for mawk… no
checking for nawk… no
checking for awk… awk
checking whether make sets $(MAKE)… no
checking whether to enable maintainer-specific portions of Makefiles… no
checking for style of include used by make… none
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/Users/mac_pro/downloads/dovecot-1.2.17′:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details
Trying to compile on Snow Leopard. Have Mamp Pro installed so MySql is there. When I try make, it tells me that no such command.
Please help.
10:14 pm
@Andrei, did you install XCode?
10:45 pm
On to install XCode…
Is that the only other thing it needs?
Thanks
10:54 pm
Yes, you need XCode to be able to compile. I don’t know if the MAMP install comes with the proper shared libraries and include files required for compiling dovecot, but you will notice that soon enough. If it doesn’t work I would advice you to at least try to look at the other documentation on MySQL, Apache and PHP as well. We provide everything you require and it’s all supporting each other.
12:06 am
Looks like I got it going.
5:16 am
Thanks for the update!