1 (edited by mhengst 2018-04-21 16:40:23)

Topic: SPAM Score 0.0?

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.98
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Howdy. This is kind of weird -- The SPAM score of all icoming mails is 0.0. I installed the latest version on a fresh (new) server. My old version (0.97) showed a different score for each mail. Am I missing something?

Post's attachments

Capto_Capture 2018-04-19_08-04-23_PM.png
Capto_Capture 2018-04-19_08-04-23_PM.png 30.49 kb, 1 downloads since 2018-04-19 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: SPAM Score 0.0?

Do you have some blacklists for the sender domains?

3

Re: SPAM Score 0.0?

Nope. Nothing. And I just checked again. Still the same. All mail get's 0.0 :-)
Cheers,
Michael

4

Re: SPAM Score 0.0?

Hi I have exactly the same issue, new install and upgraded to iredpro all my spam shows as 0.0 I have seen issues before with dns servers not working correctly and requiring you to use isp dns so changed it and re-run with same results.

5

Re: SPAM Score 0.0?

Could you please turn on debug mode in Amavisd and show us related log?
FYI: https://docs.iredmail.org/debug.amavisd.html

6

Re: SPAM Score 0.0?

ZhangHuangbin wrote:

Could you please turn on debug mode in Amavisd and show us related log?
FYI: https://docs.iredmail.org/debug.amavisd.html

Hi is this enough info, I didn't want to put all my details up here but it looks as if components aren't loading

Apr 22 06:41:46 mail amavis[75895]: Net::Server: Group Not Defined.  Defaulting to EGID '126 126'
Apr 22 06:41:46 mail amavis[75895]: Net::Server: User Not Defined.  Defaulting to EUID '118'
Apr 22 06:41:46 mail amavis[75895]: Module Amavis::Conf        2.404
Apr 22 06:41:46 mail amavis[75895]: Module Archive::Zip        1.56
Apr 22 06:41:46 mail amavis[75895]: Module Compress::Raw::Zlib 2.068
Apr 22 06:41:46 mail amavis[75895]: Module Compress::Zlib      2.068
Apr 22 06:41:46 mail amavis[75895]: Module Crypt::OpenSSL::RSA 0.28
Apr 22 06:41:46 mail amavis[75895]: Module DBD::mysql          4.033
Apr 22 06:41:46 mail amavis[75895]: Module DBI                 1.634
Apr 22 06:41:46 mail amavis[75895]: Module Digest::MD5         2.54
Apr 22 06:41:46 mail amavis[75895]: Module Digest::SHA         5.95
Apr 22 06:41:46 mail amavis[75895]: Module Encode              2.72
Apr 22 06:41:46 mail amavis[75895]: Module File::Temp          0.2304
Apr 22 06:41:46 mail amavis[75895]: Module IO::Socket::INET6   2.72
Apr 22 06:41:46 mail amavis[75895]: Module IO::Socket::IP      0.37
Apr 22 06:41:46 mail amavis[75895]: Module MIME::Entity        5.507
Apr 22 06:41:46 mail amavis[75895]: Module MIME::Parser        5.507
Apr 22 06:41:46 mail amavis[75895]: Module MIME::Tools         5.507
Apr 22 06:41:46 mail amavis[75895]: Module Mail::DKIM::Signer  0.4
Apr 22 06:41:46 mail amavis[75895]: Module Mail::DKIM::Verifier 0.4
Apr 22 06:41:46 mail amavis[75895]: Module Mail::Header        2.13
Apr 22 06:41:46 mail amavis[75895]: Module Mail::Internet      2.13
Apr 22 06:41:46 mail amavis[75895]: Module Net::DNS            0.81
Apr 22 06:41:46 mail amavis[75895]: Module Net::LibIDN         0.12
Apr 22 06:41:46 mail amavis[75895]: Module Net::Server         2.008
Apr 22 06:41:46 mail amavis[75895]: Module Scalar::Util        1.41
Apr 22 06:41:46 mail amavis[75895]: Module Socket              2.018
Apr 22 06:41:46 mail amavis[75895]: Module Socket6             0.25
Apr 22 06:41:46 mail amavis[75895]: Module Time::HiRes         1.9726
Apr 22 06:41:46 mail amavis[75895]: Module Unix::Syslog        1.1
Apr 22 06:41:46 mail amavis[75895]: Amavis::ZMQ code     NOT loaded
Apr 22 06:41:46 mail amavis[75895]: Amavis::DB code      NOT loaded
Apr 22 06:41:46 mail amavis[75895]: SQL base code        loaded
Apr 22 06:41:46 mail amavis[75895]: SQL::Log code        loaded
Apr 22 06:41:46 mail amavis[75895]: SQL::Quarantine      loaded
Apr 22 06:41:46 mail amavis[75895]: Lookup::SQL code     loaded
Apr 22 06:41:46 mail amavis[75895]: Lookup::LDAP code    NOT loaded
Apr 22 06:41:46 mail amavis[75895]: AM.PDP-in proto code loaded
Apr 22 06:41:46 mail amavis[75895]: SMTP-in proto code   loaded
Apr 22 06:41:46 mail amavis[75895]: Courier proto code   NOT loaded
Apr 22 06:41:46 mail amavis[75895]: SMTP-out proto code  loaded
Apr 22 06:41:46 mail amavis[75895]: Pipe-out proto code  NOT loaded
Apr 22 06:41:46 mail amavis[75895]: BSMTP-out proto code NOT loaded
Apr 22 06:41:46 mail amavis[75895]: Local-out proto code NOT loaded
Apr 22 06:41:46 mail amavis[75895]: OS_Fingerprint code  NOT loaded
Apr 22 06:41:46 mail amavis[75895]: ANTI-VIRUS code      NOT loaded
Apr 22 06:41:46 mail amavis[75895]: ANTI-SPAM code       NOT loaded
Apr 22 06:41:46 mail amavis[75895]: ANTI-SPAM-EXT code   NOT loaded
Apr 22 06:41:46 mail amavis[75895]: ANTI-SPAM-C code     NOT loaded
Apr 22 06:41:46 mail amavis[75895]: ANTI-SPAM-SA code    NOT loaded
Apr 22 06:41:46 mail amavis[75895]: Unpackers code       loaded
Apr 22 06:41:46 mail amavis[75895]: DKIM code            loaded
Apr 22 06:41:46 mail amavis[75895]: Tools code           NOT loaded
Apr 22 06:41:46 mail amavis[75895]: Found $file            at /usr/bin/file
Apr 22 06:41:46 mail amavis[75895]: Found $altermime       at /usr/bin/altermime

7

Re: SPAM Score 0.0?

Howdy. Sorry for the late reply. But it looks pretty much the same here:

Apr 22 22:17:03 h2779182 amavis[31515]: Amavis::ZMQ code     NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Amavis::DB code      NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: SQL base code        loaded
Apr 22 22:17:03 h2779182 amavis[31515]: SQL::Log code        loaded
Apr 22 22:17:03 h2779182 amavis[31515]: SQL::Quarantine      loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Lookup::SQL code     loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Lookup::LDAP code    NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: AM.PDP-in proto code loaded
Apr 22 22:17:03 h2779182 amavis[31515]: SMTP-in proto code   loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Courier proto code   NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: SMTP-out proto code  loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Pipe-out proto code  NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: BSMTP-out proto code NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Local-out proto code NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: OS_Fingerprint code  NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: ANTI-VIRUS code      NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: ANTI-SPAM code       NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: ANTI-SPAM-EXT code   NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: ANTI-SPAM-C code     NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: ANTI-SPAM-SA code    NOT loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Unpackers code       loaded
Apr 22 22:17:03 h2779182 amavis[31515]: DKIM code            loaded
Apr 22 22:17:03 h2779182 amavis[31515]: Tools code           NOT loaded

I asume the "NOT LOADED" might have something to do with the issue?

8

Re: SPAM Score 0.0?

maybe helpful - maybe not on my issue ive done as much digging as I can and looking for odd things ive noticed spamassassin wasn't running I've started it but it's still not giving me a spam score, also the times are an hour out when being received, the server time is correct and also the domains have correct timezone which is gmt (London)

9

Re: SPAM Score 0.0?

Hi... ive also tried running this systemctl enable spamassassin.service then rebooting, strangely I seem to have even more spam now than before should I disable this to run automatically? Hope to hear soon if you can advise me on my iredmail time being an hour behind also that would help I presume its to do with British summer time. Thanks

10

Re: SPAM Score 0.0?

Hi r.cellin! Same thing here. I noticed that it was not enabled during bootup.

Cheers.
Michael

r.crellin wrote:

Hi... ive also tried running this systemctl enable spamassassin.service then rebooting, strangely I seem to have even more spam now than before should I disable this to run automatically? Hope to hear soon if you can advise me on my iredmail time being an hour behind also that would help I presume its to do with British summer time. Thanks

11

Re: SPAM Score 0.0?

Hi Micheal,

I've read somewhere that it doesn't auto boot at startup and this is normal behaviour and besides it defo didn't fix it...

Hopefully Zhang will come back to us soon with some ideas :-)

Please keep me posted if you resolve it I think this is a bit deeper than my knowledge... Do you have anything strange about your setup? for instance mine is running in hyper-v on server 2016 DC I have built many iredmail servers in this way so don't think it's that... I mentioned in my first post that ive seen dns servers block dnbsl lookups on untangle security boxes we run... also is you time correct when you look at the mail logs? mines an hour out im in the uk what about you? just trying to find any similarities with our setups.

Cheers

mhengst wrote:

Hi r.cellin! Same thing here. I noticed that it was not enabled during bootup.

Cheers.
Michael

r.crellin wrote:

Hi... ive also tried running this systemctl enable spamassassin.service then rebooting, strangely I seem to have even more spam now than before should I disable this to run automatically? Hope to hear soon if you can advise me on my iredmail time being an hour behind also that would help I presume its to do with British summer time. Thanks

12

Re: SPAM Score 0.0?

Hi all,

I need the info of Amavisd log related to scan a inbound or outbound email, not the start up log.

- Turn on debug mode in Amavisd
- Send one email from Gmail to your iRedMail server.
- Extract log related to this gmail email from Amavisd log file and paste here. We need this for troubleshooting.

13

Re: SPAM Score 0.0?

Hi I've attached a text doc with email form gmail to iredmail

Many thanks

ZhangHuangbin wrote:

Hi all,

I need the info of Amavisd log related to scan a inbound or outbound email, not the start up log.

- Turn on debug mode in Amavisd
- Send one email from Gmail to your iRedMail server.
- Extract log related to this gmail email from Amavisd log file and paste here. We need this for troubleshooting.

Post's attachments

gmail to iredmail log.rtf 43.01 kb, 3 downloads since 2018-04-25 

You don't have the permssions to download the attachments of this post.

14

Re: SPAM Score 0.0?

Hi. r.crellin!

My setup is pretty much forward. Single server, Debian 9, was fresh during the installation. So, nothing out of the ordinary. And yes, I am also a long time customer. Using iRedMail since 0.6 or so...:-).
In regard of the time zone: I am on CEST (Austria).

Cheers,
Michael

r.crellin wrote:

Hi Micheal,

I've read somewhere that it doesn't auto boot at startup and this is normal behaviour and besides it defo didn't fix it...

Hopefully Zhang will come back to us soon with some ideas :-)

Please keep me posted if you resolve it I think this is a bit deeper than my knowledge... Do you have anything strange about your setup? for instance mine is running in hyper-v on server 2016 DC I have built many iredmail servers in this way so don't think it's that... I mentioned in my first post that ive seen dns servers block dnbsl lookups on untangle security boxes we run... also is you time correct when you look at the mail logs? mines an hour out im in the uk what about you? just trying to find any similarities with our setups.

Cheers

mhengst wrote:

Hi r.cellin! Same thing here. I noticed that it was not enabled during bootup.

Cheers.
Michael

r.crellin wrote:

Hi... ive also tried running this systemctl enable spamassassin.service then rebooting, strangely I seem to have even more spam now than before should I disable this to run automatically? Hope to hear soon if you can advise me on my iredmail time being an hour behind also that would help I presume its to do with British summer time. Thanks

15 (edited by mhengst 2018-04-25 19:36:34)

Re: SPAM Score 0.0?

And here my log as well. Hope that helps.

Cheers,
Michael

And I am sure I can spare 10 USD for coffee :-). Tonight or tomorrow...

Post's attachments

mail_log.cleantext 3.08 kb, 1 downloads since 2018-04-25 

You don't have the permssions to download the attachments of this post.

16

Re: SPAM Score 0.0?

r.crellin wrote:

Hi I've attached a text doc with email form gmail to iredmail

The log says:

Apr 25 07:16:21 mail amavis[31338]: (31338-01) no anti-spam code loaded, skipping spam_scan

*) Do you have SpamAssassin package installed?
*) Do you have spam scanning disabled in Amavisd config file? Search "bypass_spam_checks" in /etc/amavis/conf.d/*.

17

Re: SPAM Score 0.0?

Hi Thanks for that, it was a free install with an upgrade to iredpro it seems that anti virus and anti spam are disabled by default.

For Michael, sudo nano /etc/amavis/conf.d/15-content_filter_mode

uncomment the 4 # I wasn't sure on the fifth down the bottom but mines working perfectly now!

Thanks Zhang for your guidance!

ZhangHuangbin wrote:
r.crellin wrote:

Hi I've attached a text doc with email form gmail to iredmail

The log says:

Apr 25 07:16:21 mail amavis[31338]: (31338-01) no anti-spam code loaded, skipping spam_scan

*) Do you have SpamAssassin package installed?
*) Do you have spam scanning disabled in Amavisd config file? Search "bypass_spam_checks" in /etc/amavis/conf.d/*.

18

Re: SPAM Score 0.0?

Hi Guys!

Well, now it works. Thanks a bunch!

Cheers,
Michael

r.crellin wrote:

Hi Thanks for that, it was a free install with an upgrade to iredpro it seems that anti virus and anti spam are disabled by default.

For Michael, sudo nano /etc/amavis/conf.d/15-content_filter_mode

uncomment the 4 # I wasn't sure on the fifth down the bottom but mines working perfectly now!

Thanks Zhang for your guidance!

ZhangHuangbin wrote:
r.crellin wrote:

Hi I've attached a text doc with email form gmail to iredmail

The log says:

Apr 25 07:16:21 mail amavis[31338]: (31338-01) no anti-spam code loaded, skipping spam_scan

*) Do you have SpamAssassin package installed?
*) Do you have spam scanning disabled in Amavisd config file? Search "bypass_spam_checks" in /etc/amavis/conf.d/*.

19

Re: SPAM Score 0.0?

This does however bring another issue, lots of spam mail flooding in between the 2 and 3 mark I've sent in a genuine mail thats scored 2.6 so this is going to be difficult to adjust I would say.... Feels like it's missing some additional spam scoring points they seem to low.

20

Re: SPAM Score 0.0?

to add to this it's my mistake! I'd turned off grey listing that seems to be my issue!

Thanks again Zhang!

r.crellin wrote:

This does however bring another issue, lots of spam mail flooding in between the 2 and 3 mark I've sent in a genuine mail thats scored 2.6 so this is going to be difficult to adjust I would say.... Feels like it's missing some additional spam scoring points they seem to low.