Stephen J. Turnbull wrote:
Abhilash Raj writes:
Exim experts would be able to help you better with this. I'm the one who set up the original sample Exim .conf, because (a) I didn't want to migrate all my bots to Postfix, and (b) the one-real- host .conf turned out to be trivial. I'm an Exim expert only for my own configuration, which is a (pre-global-warming) glacially-moving target. I've never seen anything like the problems described here, sorry. Can't help.
Since it's looking like we don't have any real Exim experts hanging around here, perhaps we should move the sample containers and other default configs to assume Postfix and document "Exim should work but you're kinda on your own, we'll do what we can but it's limited." At least Mark is maintaining such systems, and they're probably better documented than Exim for the single-real-host configuration, though they would probably run into similar problems with the containerized setup. WDOT?
Hi Steve,
I think it really is not that complicated in getting exim setup, at least with a Centos system. The macros, router, and transport files that maxking provided were a big help and probably the hardest part of setting it up. The problems I had with setting exim up were:
Not realizing exim is setup differently depending on the flavor of Linux. For Debian systems, there is a conf.d folder to place the 3 above mention files into. Not for Centos 7. Evidently some of the syntax is different as well.
I also did not realize I had some syntax errors in exim.conf that caused exim not to restart. For some reason, the OS did not tell me Exim failed to restart when I used "systemctl restart exim.service". I happen to run "systemctl status exim.service" and that told me exim was dead in the water. I quickly found out why and fixed the errors.
I did not know how to include the 3 above mention files in the exim.conf nor did I know that I needed to. It is easy to do and Odhiambo WASHINGTON helped me with that. (Thank you!)
What I would change in the documentation is to let exim users know to use a valid mail account for posterious to send out messages. Perhaps it is there but it was not apparent to me. I would also mention some more Exim specific settings to modify For example:
"To use Exim4, it should be setup to relay emails from 172.19.199.3 and 172.19.199.2."
I would change the above line to include the actual setting to change in the exim.conf file:
hostlist relay_from_hosts = localhost : 172.19.199.3 : 172.19.199.2 : 172.19.199.1
However the challenge in that is the above setting is for Centos 7. I am not sure if the setting is different for Debian or other Linux variants. I would also mention that the macros, router, and transport files need to be included via exim.conf. Not knowing Exim very well, I did not know that. I know we don't want to make the documentation too large or unwieldy but I think the above suggestions won't add too much to the weight of the documentation.
Brian