[Gross] gross with SJMS : "imsimta test mapping" return no such file or directory

Armand Delcros armand.delcros at gmail.com
Sat May 2 20:52:23 EEST 2009


Hello,

We have SJSMS 7.0 installed on a x64 solaris 10.
I compiled gross on it with c-ares with gcc. (with ./configure
/opt/sfw/ no other choice for the moment on this platform).

The daemon grossd server is on a other serveur (T1000 sparc solaris
10) which is compiled with c-ares and Sun Studio C compiler.
The daemon is running well on the sparc (good test with gclient).


But on the SJSMS platform the filtering process is not working :

comm:/opt/sun/comms/messaging64 # sbin/imsimta test -mapping -debug
-table ORIG_MAIL_ACCESS
Input string: TCP|127.0.0.2|25|127.0.0.2||||tcp_local|foo||bar
19:50:20.28: Mapping 7 applied to
TCP|127.0.0.2|25|127.0.0.2||||tcp_local|foo||bar
19:50:20.28:   Entry #1 did not match, pattern "TCP|*|*|*|*|*|*|tcp_local||*|*".
19:50:20.28:   Entry #2 did not match, pattern
"TCP|*|*|*|*|*|*|tcp_local|*|*|postmaster@*".
19:50:20.28:   Entry #3 did not match, pattern
"TCP|*|*|*|*|*|*|tcp_local|*|*|abuse@*".
19:50:20.28:   Entry #4 matched, pattern
"TCP|*|*|*|*|*|*|tcp_local|*|*|*", template
"$[/opt/sfw/lib/grosscheck.so,grosscheck,192.168.10.27,,5525,$2,$=$8$_,$=$6$_,$=$4$_]",
match #0.
19:50:20.28:   User routine call:
/opt/sfw/lib/grosscheck.so\grosscheck(192.168.10.27,,5525,127.0.0.2,bar,foo,)
->
19:50:20.29:     Failed; routine not found: No such file or directory
19:50:20.29:   Exiting...
19:50:20.29:   Final result "TCP|127.0.0.2|25|127.0.0.2||||tcp_local|foo||bar"
Output string: TCP|127.0.0.2|25|127.0.0.2||||tcp_local|foo||bar
Output flags: []

this is the part of the "mappings" file relevant :

ORIG_MAIL_ACCESS

! allow all DSNs and MDNs
  TCP|*|*|*|*|*|*|tcp_local||*|*  $Y$E
! allow all incoming mail to postmaster and abuse
  TCP|*|*|*|*|*|*|tcp_local|*|*|postmaster@*  $Y$E
  TCP|*|*|*|*|*|*|tcp_local|*|*|abuse@*  $Y$E
! use gross to check all triplets (client_ip,sender,recipient)
  TCP|*|*|*|*|*|*|tcp_local|*|*|*
$[/opt/sfw/lib/grosscheck.so,grosscheck,192.168.10.27,,5525,$2,$=$8$_,$=$6$_,$=$4$_]

and the "ls -l" :

comm:/opt/sun/comms/messaging64/config # ls -l /opt/sfw/lib/grosscheck.so
-rwxr-xr-x   1 root     root       17248 May  2 18:52 /opt/sfw/lib/grosscheck.so

what's wrong with my configuration ?

Thanks for your help !



More information about the Gross mailing list