![]() |
Exim
After struggling with postfix, and refusing to use Sendmail, I decided to have a bash at using ISPConfig with Exim (which I use by preference).
It turned out to be very simple. I use Debian, so this will be specific to Debian using the exim4-daemon-light package. I installed exim4 again (after having had postfix and sendmail installed). I decided on a non-split config option (though it would be simple to do it with the split config) and made the following changes to exim4.conf.template : near the top of the file I added: Code:
MAIN_TLS_ENABLE =yesCode:
data = ${lookup{$local_part@$domain}lsearch{/etc/postfix/virtusertable}}Next I copied the files smtpd.crt and smtpd.key from /etc/postfix/ssl to /etc/exim4 and called them exim4.crt and exim4.key respectively. Edit /etc/exim4/update-exim4.conf.conf and change the following line: Code:
dc_other_hostnames='/etc/postfix/local-host-names'Code:
cd /etc/init.dHope thats of some help to folk, and also to the developers as I'd like to see Exim actually supported by ISPConfig (though I believe its in the roadmap?) :-) |
Thanks for the howto, I moved it to the Tipps & Tricks forum.
I guess ISPConfig was already installed as you changed to exim? The ISPConfig installer is checking for a postfix installation. So it might be nescessary to tweak the ISPConfig installer to recognize exim as valid MTA or postfix replacement. |
Yeah, I followed the perfect debian install, then setup ISPConfig.
The problem is that I was running it under linux-vserver. Postfix couldn't send any mail to the domains with inbound MX records on the other IPs on the box as despite the fact it was only bound to a single IP I kept getting the "mail for example.com loops back to me" message. I know nothing about postfix and all the solutions said to add those domains to my list of local domains, which they're not. Thankfully I know a lot about Exim :) I'll try and get a few minutes this week to write exim conf files for inclusion in a split Exim4 Debian config. |
Okay... so these files are for those people using the exim4 split config as pioneered by Debian (yes their config looks hella complicated, but most people would never need to touch it and when you know how it works its nice and easy to fiddle.)
Code:
#/etc/exim4/conf.d/main/000_exim4-ISPConfig_optionsCode:
#/etc/exim4/conf.d/router/450_exim4-ISPConfigAliasesCode:
#/etc/exim4/conf.d/auth/999_exim4-ISPConfig-Auth_CourierDon't forget you need to add whatever file ISPConfig is using to generate local domains. Either edit /etc/exim4/update-exim4.conf.conf to set dc_other_hostnames. Eg: Code:
dc_other_hostnames='/etc/exim4/local-host-names'I think ISPConfig will have write permission on the files in my confs by default. |
| All times are GMT +2. The time now is 06:02. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.