[SA-exim] Novice Installation Question.
Marc MERLIN
marc at merlins.org
Wed, 24 Jul 2002 17:37:53 -0700
On Wed, Jul 24, 2002 at 10:36:59AM +0100, Paul Matthews wrote:
> 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
This hasn't been tested on Solaris yet.
David Woodhouse (the original patch author) warned that it might only work
on linux. I do not know what's involved it making it work for Solaris.
David, any ideas?
> 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
That one should work
It looks like spamc dies when sa-exim writes to it.
Does spamc work?
spamc < /tmp/mailfile
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key