Exim installations problem

Niklas

Verified User
Joined
Jun 14, 2006
Messages
11
Hi

To begin with, i'm running FreeBSD 7 as earlier versions isn't supported by the server i use, so the install scripts are not working. That means i have to compile everything myself, and configure it to work with DA. I've managed to successfully install apache/mysql/dovecot/php from ports, all working perfect and can be controlled from DA with almost no problems at all (Only one problem when DA writes the vhost files, but not hard to fix).

The only problem i've ran into is with Exim. I've compiled and installed it successfully and i can get it running with no errors in the log. But when i receive an email, it accepts the email and write in the log that it has been delivered, but it doesn't look like it stores the email anyway. The customer imap folder is simply empty (the directory are created for the folders, but all empty). Hope someone can help me with this problem, as i dont know much about exim (always been a postfix user).

Output from the exim mainlog:
2008-01-31 01:36:47 1JKNQ7-000B3P-Pp <= [email protected] U=root P=local S=357 T="adf" from <[email protected]> for [email protected]
2008-01-31 01:36:48 1JKNQ7-000B3P-Pp => info <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=475
2008-01-31 01:36:48 1JKNQ7-000B3P-Pp Completed

Edit: I found out how to get exim into debugging mode (doh that was simple) and found out the error. In the process of getting everything to work with DA, there was some folder permission problems when creating domains, so the domain was created half by the admin user, and then later by a customer user. That left the admin user as domainowner in the mail settings, so the emails was delivered to the wrong directory. Now everything runs perfectly!

Thanks in advance,
Niklas
 
Last edited:
Updated the post with the solution.

And yes i have tried the custombuild, and it dont work as it's supposed to. PHP doesn't get installed in CLI and that gives some errors in the DA administration, and proftpd/exim wont start. Anyway i think it's better to use ports for managing the software anyway, so i stick to this method ;)
 
You downloaded and compiled and installed exim via ports? Why dont you install the da_exim?? package available from the DA file repository. That way you at least know that you have the correct exim.conf to go along with your installation.
 
Because the packages does not work with FreeBSD 7 (lib problems). And instead of fixing this by making hundreds of symlinks, it would be alot easier if the applications just worked out of the box, and since they do that, i'm sticking to this method. And the configuration files is not an issue, as all the default configurations comes with custombuild ;)
 
if im about to use Exim from FreeBSD ports installer, how do i go about it?
what config file should i keep and can i make it works with DirectAdmin?
im using FreeBSD 6.3-Release

thank you
 
Back
Top