[SA-exim] Novice Installation Question.
Paul Matthews
P.W.Matthews at swansea.ac.uk
Wed, 24 Jul 2002 10:36:59 +0100 (BST)
Hi.
I'm trying to get on the exim/spamassassin trail...
I did try the localscan_dlopen.patch approach. After a bit of tinkering
everything patched and compiled OK. When I then added the
local_scan_path = /usr/local/lib/sa-exim.so
to the exim4 config file is when things went pear shaped... It couldn't
find libraries:
2002-07-23 11:21:58 17Wwnm-0001uP-00 temporarily rejected by local_scan():
Local configuration error - local_scan() library failure\nld.so.1:
/usr/local/exim/bin/exim: fatal: libgcc_s.so.1: open failed: No such file
or directory
I linked libgcc_s.so.1 to /usr/lib (I know - crude...) then it failed a
bit further in:
2002-07-23 12:19:59 17Wxhv-0003o3-00 temporarily rejected by local_scan():
Local configuration error - local_scan() library failure\nld.so.1:
/usr/local/exim/bin/exim: fatal: relocation error: file
/usr/local/lib/sa-exim.so: symbol log_write: referenced symbol not found
So I gave up with this and tried the overwrite src/local_scan.c approach.
Again everything compiled OK and seems to run OK. When I set
SAEximRunCond: 1
I get:
2002-07-23 13:01:29 17WyM5-0005cQ-00 SA: SAEximRunCond expand returned: '1'
2002-07-23 13:01:29 17WyM5-0005cQ-00 SA: check succeeded, running spamc
2002-07-23 13:01:29 17WyM5-0005cQ-00 SA: Unexpected error on header line write
(but message was accepted), file ../src/local_scan.c, line 596: Broken pipe
2002-07-23 13:01:29 17WyM5-0005cQ-00 SA: Writing message to /usr/local/exim/spool/SAerrorsave/1027425689
2002-07-23 13:01:29 17WyM5-0005cQ-00 <= root@swansea.ac.uk H=mhs (mhs.swan.ac.uk)
[137.44.1.33] P=esmtp S=1035 id=200207231200.NAA23141@www.swan.ac.uk
2002-07-23 13:01:29 17WyM5-0005cQ-00 => |/usr/local/bin/filter
<ccpaulm@ccrollins.swan.ac.uk> R=userforward T=address_pipe
2002-07-23 13:01:29 17WyM5-0005cQ-00 Completed
It delivers the message to my mailbox OK. I thought it may be a permissions
thing. I'm currently running spamd as
spamd -d -u exim
I've tried different users (nobody and root) with no difference.
Solaris 8
exim-4.10
Mail-SpamAssassin-2.31
sa-exim-2.0.1
Sorry this is so long and for any dull questions...
Cheers,
Paul.
--------------------------------------------------------------------------
Paul Matthews Head of Networking/Postmaster
Library and Information Services,
University of Wales Swansea , Singleton Park, Swansea SA2 8PP, UK
email: P.W.Matthews@swansea.ac.uk postmaster@swansea.ac.uk
tel: +44 (0)1792 295107 mobile: 07802166089 fax: +44 (0)1792 295851
--------------------------------------------------------------------------