Re: [EXIM] Exim 3.02 problems with new config

Top Pagina
Delete this message
Reply to this message
Auteur: Mark Baker
Datum:  
Aan: Pollywog
CC: exim-users
Onderwerp: Re: [EXIM] Exim 3.02 problems with new config
On Fri, Jun 25, 1999 at 02:45:43AM -0000, Pollywog wrote:

> > I also tried to generate a new exim.conf with "eximconfig", but no go. The
> > Debian install claimed to convert exom.conf to the new format. That didn't
> > seem
> > to help much.
>
> Same here, Debian too. Local mail works though. I tried eximconfig but got
> pretty much the same result. I will probably just go back to version 2.22


eximconfig was broken in 3.02-1; try 3.02-2 (or 3.02-3 which I'm about to
release). The conversion does work, but you need to check it's output first
as there is the odd thing it can't cope with.

There was another problem, related to the IPv6 support. If you didn't have
IPv6 in your kernel, then the attempt to open the listen socket as AF_INET6
failed. This doesn't affect people using inetd.

I will be fixing this so if the socket call fails it tries opening it as
AF_INET, using the following patch:

--- exim-3.02.orig/src/daemon.c
+++ exim-3.02/src/daemon.c
@@ -705,6 +705,11 @@

     #if HAVE_IPV6
     listen_sockets[sk] = socket(AF_INET6, SOCK_STREAM, 0);
+    if (listen_sockets[sk] < 0)
+      {
+      /* IPv6 socket creation failed: maybe this system doesn't support
IPv6 */
+      listen_sockets[sk] = socket(AF_INET, SOCK_STREAM, 0);
+      }
     #else
     listen_sockets[sk] = socket(AF_INET, SOCK_STREAM, 0);
     #endif


--
*** Exim information can be found at http://www.exim.org/ ***