exim.sh options

flamewalker

Verified User
Joined
Aug 21, 2007
Messages
64
Hello,

I am trying to recompile exim to support dovecot-sasl. If a user doesn't enter a hostname as part of their username, it will assume it is @myhost.com. I got dovecot to do this, and I presume the easiest way to get exim to do this would be to have exim use dovecot for authentication.

I found elsewhere I need to add AUTH_DOVECOT=yes to the Makefile, however this is Directadmin and I don't want to recompile from source if I don't have to. I found the exim.sh in /usr/local/directadmin/scripts/ folder, and see some options but am unsure if it will recompile as I am aiming for.

If I set DOVECOT=1 (currently -0) in exim.sh, will that do what I want? If not, what would be the easiest way to recompile exim to support dovecot-sasl as the authenticator? Or, is there an easy configuration option in exim.conf that I can cause the same behavior as in dovecot?

Exim is 4.67 on my DA server.

TIA.

Jamey
 
I hadn't used it, I assumed it was the best option.

I assume if I follow those directions, it shouldn't break anything on Directadmin? (I know its not a guarantee nothing will happen :)

Just being cautious since I don't entirely understand the relationship directadmin has to the software, and want to make sure to do it right.

Thanks.
 
Also when I said not compiling from source, I meant a source different than what was currently installed. I was basically looking to recompile what was already installed.

However it seems that I will have to download the version, unpack it, and recompile it with the option I want?
 
Thanks for the advice.

I took the plunge and recompiled the lastest version, added AUTH_DOVECOT=yes in the makefile, and modified the dovecot and exim conf files.

It works as expected! When a user uses just their username, it assumes it is @mydomain.com. Other hosted domains will still be required to use [email protected], but our primary email users will not have to change any of their mail client settings when we change :D
 
Back
Top