Re: [EXIM] Exim 2.01 on UltraLinux - getsockopt() failes alw…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Marc Stuermer
CC: exim-users
Tárgy: Re: [EXIM] Exim 2.01 on UltraLinux - getsockopt() failes always
On Thu, 6 Aug 1998, Marc Stuermer wrote:

> The system is using Linux kernel 2.1.106, and glibc 2.0.7 (UltraPenguin is
> based on RedHat5.0) as its main library.
>
> exim_mainlog says:
>
> 1998-08-05 23:27:28 getsockopt() failed from [127.0.0.1] (root): Invalid
> argument
> 1998-08-05 23:23:42 getsockopt() failed from [194.95.221.129]: Invalid
> argument


The function getsockopt() is not only differently defined in Linux
compared with all other Unixes on which Exim runs, but there are
differences between different Linux libraries. The code around line 885
in the module smtp_in.c has a number of compilation options that are
supposed to sort this out. It may be that something is going wrong on
your system, but I'm afraid I am not a Linux person, so I can't be any
more specific.

You could cut this whole section of code out altogether; what you lose
is a check on incoming IP calls to ensure that they don't have any
options (such as source routing) set.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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