Thanks for the clarification on MTA and pop3/imap. I've been browsing at
www.postfix.org , and found that postfix can be utilised with MySQL, instead of Berkeley DB (And I dont think I have Berkeley DB installed. MySQL is installed and running).
So I downloaded Postfix 2.0.18, then I typed:
$ tar -xvzf postfix-2.0.18.tar.gz
Then I go to the directory of where the postfix untarred to and typed:
$ make -f Makefile.init makefiles \
'CCARGS=-DHAS_MYSQL -I/usr/include/mysql' \
'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm'
And get the following error message:
make -f Makefile.in MAKELEVEL= Makefiles
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/nqmgr src/qmqpd src/spawn src/flush src/virtual src/proxymap; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefile] Error 1
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2
Now, MySQL was installed out of the box (Together with Slackware 9.1 Installation). I believe the error is because of the lack of db.h file?
Is db.h related to Berkeley DB? Or if it's not, then do I need to do something when Installing MySQL? Or I misunderstood the error?
If it is related to Berkeley DB, does that mean I still need to install Berkeley DB, although I am going to use MySQL?
Thanks.