1 (edited by TumTum 2015-05-19 02:58:36)

Topic: SpamAssasin Issue

==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Linux/BSD distribution name and version: CentOS 6
- Related log if you're reporting an issue: -
====

Will spamassasin start automatically?
Screen

I am not sure everything is working automatically, as i need to start the service everytime, and the languagefilter is doing nothing. After a clean installation, there are steps required to make everything working? Or will the spamassasin be included. Some info would be nice, how does this happens?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by TumTum 2015-05-19 02:56:39)

Re: SpamAssasin Issue

Enabling language filter
Screen


Set the language:
Screen

3

Re: SpamAssasin Issue

SpamAssassin should be OFF.
We are calling it from within Amavis
SpamAssassin is only started if it is its own Content Filter
Since Amavis makes SpamAssassin much more powerful - we are using this method.

4

Re: SpamAssasin Issue

7t3chguy wrote:

SpamAssassin should be OFF.
We are calling it from within Amavis
SpamAssassin is only started if it is its own Content Filter
Since Amavis makes SpamAssassin much more powerful - we are using this method.

Ok, clear answer smile
Which way can i use to enable language block and can you provide me info how to do this?

5

Re: SpamAssasin Issue

That you will have to wait for Zhang to answer - not proficient in SpamAssassin confs - sorry

6 (edited by TumTum 2015-05-19 04:47:12)

Re: SpamAssasin Issue

7t3chguy wrote:

That you will have to wait for Zhang to answer - not proficient in SpamAssassin confs - sorry

Ok, will wait, thanks for your input!

(this is not working: http://blog.le-vert.net/?p=67)

7

Re: SpamAssasin Issue

TumTum wrote:

Which way can i use to enable language block and can you provide me info how to do this?

I checked your link, it should work if follow it strictly. The difference is that you should restart Amavisd service at the end.

8 (edited by TumTum 2015-05-20 02:18:46)

Re: SpamAssasin Issue

ZhangHuangbin wrote:
TumTum wrote:

Which way can i use to enable language block and can you provide me info how to do this?

I checked your link, it should work if follow it strictly. The difference is that you should restart Amavisd service at the end.

Pretty weird, tried it again.

v310.pre
#loadplugin Mail::SpamAssassin::Plugin::TextCat is now:
loadplugin Mail::SpamAssassin::Plugin::TextCat

Local.cf (placed at bottom)
# SpamAssassin TextCat (Language Guesser Plugin)
# http://spamassassin.apache.org/full/3.3 … xtCat.html
ok_languages en nl
inactive_languages ''
score UNWANTED_LANGUAGE_BODY 5
add_header all Languages _LANGUAGES_

In amavisd.conf: (Showing in email, but without a country sign)
# Print X-Spam-Languages header from TextCat SpamAssassin plugin

Russian, chinese etc. mails will come in with my tests, so it isnt working :\ not to be hard, but cant understand this languages smile
$allowed_added_header_fields{lc('X-Spam-Languages')} = 1;

After the config: service amavisd restart

9

Re: SpamAssasin Issue

This is normally ok? or is it wrong?
Help will be appreciated smile

10

Re: SpamAssasin Issue

Does it use 'X-Languages' header or 'X-Spam-Languages'?