Problem using SpamAssasin in SunJavaSystem

Hello,

I have configured SpamAssasin as the instruction says and also did this:

======================================

- /opt/sun/messaging/config/spamassassin.opt

======================================

host=127.0.0.1

port=2000

mode=1

debug=1

======================================

- /opt/sun/messaging/config/option.dat

======================================

! MTA configuration options

!

! This sets the alias resolution order

!8 = Use ALIAS_URL0

!7 = Use ALIAS_URL1

!6 = Use ALIAS_URL2

!4 = Use the alias file

ALIAS_MAGIC=8764

ALIAS_URL0=ldap:///$V?*?sub?$R

USE_REVERSE_DATABASE=4

REVERSE_URL=ldap:///$V?$N?sub?$R

USE_DOMAIN_DATABASE=0

! MISSING_RECIPIENT_POLICY controls how illegal headers that don't

! contain any To:, Cc:, or Bcc: fields are handled for channels that

! do not have their own explicit missingrecipientpolicy keyword set.

! The default of 0 means that the envelope addresses are used to

! construct a valid To: header field. This default behavior tends

! to be especially appropriate for the tcp_local channel.

MISSING_RECIPIENT_POLICY=0

MISSING_RECIPIENT_GROUP_TEXT=Undisclosed recipients

ALIAS_DOMAINS=6

!

LDAP_SCHEMALEVEL=2

!

VACATION_TEMPLATE=file:///opt/sun/messaging/data/vacation/$3I/$1U/$2U/$U.vac

!

! for Spamassassin

!

spamfilter1_config_file=/opt/sun/messaging/config/spamassassin.opt

spamfilter1_library=/opt/sun/messaging/lib/libspamass.so

spamfilter1_optional=1

spamfilter1_string_action=data:,addtag "[SPAM detected $U]";

======================================

- /opt/sun/messaging/config/imta.cnf

======================================

! ims-ms

ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D destinationspamfilter1optin spam

ims-ms-daemon

======================================

But now when i try to do

/opt/sun/messaging/sbin/imsimta cnbuild

i get following error:

/opt/sun/messaging/lib/imtacli: symbol lookup error: /opt/sun/messaging/lib/libmailwave.so: undefined symbol: db_env_create_4002

Funny thing is i can't type 'version either:

/opt/sun/messaging/sbin/imsimta version

same error:

/opt/sun/messaging/lib/imtacli: symbol lookup error: /opt/sun/messaging/lib/libmailwave.so: undefined symbol: db_env_create_4002

Please help what to do ;/

Edited:

[/opt/sun/messaging/lib]# ls -la | grep libmail

-rwxr-xr-x1 bin bin752014 Jul 15 2005 libmailwave.so*

[2778 byte] By [Fleibo] at [2007-11-26 9:37:32]
# 1
Please start with version and OS information. did the server work before you attempted to install SA?Were you able to run any imsimta commands before?If you're on Linux, there was a bug with the as-delivered product, where most of the command-line features did not
jay_plesset at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

It's Linux FC 3 and Sun Java Messaging System 2005 Q4 i think, not totally sure, as i can't check the version with imsimta. And i am not sure it has anything to do with me installing SA, because when i removed all the entries i did in configuration of SunJava config files it behaved the same. I think it wasn't working before but i can't realy say because i was just given this to administration and it was set up by another guy. Other command lines seems to work, as in i can create accounts/modify account or do other things.

Tnx

Fleibo at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
As I said, there is a bug in the released JES for Linux that causes this exact problem. Bug 6354888Please install patch 120230-03 or later.The problem has nothing to do with SpamAssassin at all.
jay_plesset at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Thank You for your replay.

I tried to found the patch/es on Sun pages for Sun Java Enterprise System but kill me, i couldn't get thru to find them and download :) So please gimme some link so i can go and download this patch and all other patches for my version. Realy appreciate it. Thanks.

Fleibo at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

I have tried finding this patch you suggested with this adress ( http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access ) but with no luck. Can you please give more info on this subject or tell me where i can find this patch? Or more patch for JES 2005 Q4 so i could patch all the problems that were found so far in that rls for linux?

Thanks

Fleibo at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
Unfortunately, no version of 120230 has been publically released, yet. You must contact tech support to get a "t-patch".
jay_plesset at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
That's a bummer then ;( Thanks for answer,
Fleibo at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
As an alternative, you could try running on Solaris X86. It's free, and likely will run on the same hardware. That particular problem was not found anywhere but Linux.
jay_plesset at 2007-7-7 0:31:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...