Autor: Matthew Hambley Data: A: exim-users Assumpte: [Exim] Exim, Seg Faults and DB-4
The hard disc in my GNU/Linux box recently crashed taking everything with
it. (Thank goodness for backups of irreplacable data is what I say) So I
have been slowly re-building my system. Always one to do things the hard
but interesting way I am rebuilding everything from source.
On getting exim compiled I have found that it is accepting mail from my ISP
(Demon) perfectly but is refusing to send anything back. It fails with a
segmentation fault every time. A quick check of the FAQ shows this to be a
known problem and suggests checking my DB installation, This I did and it
seems fine.
I had installed Berkeley DB v3.3 (or there-abouts) but on discovering that
there was a v4 I installed that in the hope that it would clear up the
problem. Compiling proved tricky as an enumerated type withing the db
headers includes the name DB_LOCK_TIMOUT which is #defined in
exim/src/config.h. The upshot of this is that the compiler ends up trying
to compile the line 'enum { 60 = 6 }' and barfs. I fixed this by changing
the name in config.h (and the c file where it was used) to
DB_EXIM_LOCK_TIMOUT and everything compiled fine.
The resultant exim still seg faults every time it tries to connect to
demons SMTP server though. I have now run out of ideas so any suggestions
greatfull accepted.
Given that I can't get exim to work I have had to subscribe to this list
from work so please excuse any factual inacuracies in this message. I'm
working from memory here.
--
(\/)atthew Hambley, speaking for myself, not my employer