Search found 71 matches

by gregecslo
06 Dec 2024 09:58
Forum: 5.x Bugs
Topic: reboot and mariadb usage
Replies: 2
Views: 14916

Re: reboot and mariadb usage

OK, so it would be wise to add "daily" in:
/etc/logrotate.d/rsyslog

Like this:
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
missingok
sharedscripts
daily
postrotate
/usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true
endscript ...
by gregecslo
12 Nov 2024 07:36
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Hi

Tested on one instance and now bayes result is consistant in 5 or 10 tests. I also have bayes_00 score which I havent had before this change.
So far it looks very promising.

Thanks man!
by gregecslo
09 Nov 2024 06:31
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Hi.

Disabled selinux and rebooted.
Same result.

Ran test command 6 times:

1. Content analysis details: (9.8 points, 5.0 required) - NO BAYES
2. Content analysis details: (9.8 points, 5.0 required) - NO BAYES
3. Content analysis details: (9.8 points, 5.0 required) - BAYES_40
4. Content analysis ...
by gregecslo
08 Nov 2024 15:40
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Lol

I ran it 3 times...

First run:
Nov 8 16:37:06.578 [2580347] dbg: bayes: cannot use bayes on this message; not enough usable tokens found

Second run:
-0.5 BAYES_20

Third run:
1.5 BAYES_40

sudo su - postfix -s /bin/sh -c "spamassassin -D -t < /var/spool/MailScanner/quarantine/20241106/nonspam ...
by gregecslo
06 Nov 2024 13:32
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

When doing spamassassin -D test I can see BAYES_XX is added there on SAME mail that mailscanner did NOT add BAYES_XX score.

Nov 6 14:21:26.964 [1036654] dbg: bayes: tokenized body: 2737 tokens
Nov 6 14:21:26.965 [1036654] dbg: bayes: tokenized uri: 120 tokens
Nov 6 14:21:26.965 [1036654] dbg ...
by gregecslo
05 Nov 2024 14:49
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Hi again.

I really would like to understand this behavior why identical mail (we received 2) is treated different in regards to BAYES filtering, see below:

BAYES is MISSING

To: name.surname@domain.com
Subject: - Obnovite svoj kadrovski sertifikat
From: UniCredit <support@chuon.co.jp>
MIME ...
by gregecslo
27 Sep 2024 06:33
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

I had BAYES_20 scored as "0" lol so my bad here. :)

But still there is no bayes_95 or bayes_05 so lower and upper are missing...
It really is different in 4.0.1 :)
by gregecslo
27 Sep 2024 06:24
Forum: 5.x Bugs
Topic: reboot and mariadb usage
Replies: 2
Views: 14916

Re: reboot and mariadb usage

Queries are like this (DB MAILSCANNER):

SELECT id from `maillog` where messageid='<dfgdfgfd3d928a7874dsfdfs89f9afdeac38d6@domain.com>' and to_address LIKE '%user123@otherdomain.com%' LIMIT 1
by gregecslo
27 Sep 2024 06:22
Forum: 5.x Bugs
Topic: reboot and mariadb usage
Replies: 2
Views: 14916

reboot and mariadb usage

Hi.
When I reboot efa it takes a lot of time for mariadb to settle down and relay info is missing.

Is there a task to RE-parse relay info and insert it to db?

What will happen after lets say 1 year of usage? Will reboot make mariadb go crazy for a long time to re-read relay info?
Thanks!
by gregecslo
24 Sep 2024 08:10
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Also this:

Rule Description Score Total Ham Col6 Spam Col8
BAYES_40 Bayes spam probability is 20 to 40&percnt; 0.00 2,784 2,721 97.7 63 2.3
BAYES_50 Bayes spam probability is 40 to 60&percnt; 0.80 126 93 73.8 33 26.2
BAYES_60 Bayes spam probability is 60 to 80&percnt; 1.50 437 127 29.1 310 70.9 ...
by gregecslo
24 Sep 2024 07:24
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Or maybe because bayes storage is SQL based?
by gregecslo
23 Sep 2024 13:24
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

I posted this on mailing list as well...

I think we need to open bug for this?


Hi again.


In V4 there is something wrong with bayes...


I received 3 identical mails (1 external sender, 3 internal recipients) and scores are like this:


2 X like:

0.00 ARC_SIGNED Message has a ARC signature
-0 ...
by gregecslo
13 Sep 2024 18:14
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

Yeah, guilty :)

It was really bothering me why same exported training data when imported to SA V4 behaved completely different.

I got my answer, maybe it will help others.

And yeah, autolearn I will turn it off for sure, it will do more harm than good anyways...
by gregecslo
10 Sep 2024 06:26
Forum: Discussion
Topic: Ability to download .EML mail
Replies: 3
Views: 39012

Re: Ability to download .EML mail

Done
by gregecslo
10 Sep 2024 06:26
Forum: 5.x Bugs
Topic: Virus scanners page
Replies: 2
Views: 18712

Re: Virus scanners page

Done
by gregecslo
09 Sep 2024 13:59
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

Re: eFa v5 bayes behaviour

One more thing...
Some mails even dont have BAYES added in score list, confirmed on 2 installs (one new and other migrate from v4)

Score Matching Rule Description
1.95 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date
1.10 DCC_CHECK Detected as bulk mail by DCC (dcc-servers.net)
0 ...
by gregecslo
09 Sep 2024 13:35
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 224990

eFa v5 bayes behaviour

Hi.

Created new efa appliance on Rocky.

Configured it, all is good, except for bayes. It IS working, it IS learning but when it classifies mail it is really not so decisive as it was in V3 and V4 of Efa.

I have:
dbg: bayes: corpus size: nspam = 1190, nham = 12441
dbg: bayes: DB expiry: tokens in ...
by gregecslo
09 Sep 2024 13:27
Forum: Discussion
Topic: Ability to download .EML mail
Replies: 3
Views: 39012

Ability to download .EML mail

Hi.
Sometimes we need .EML file for various reasons... So we copied it over sftp, webmin etc...

So I had enough and wrote simple EML downloader, it is not pretty but it does job well.
Can it be included in next efa version?

How I did it:

Create file: /var/www/html/mailscanner/dl_mail.php
<?php ...
by gregecslo
09 Sep 2024 13:20
Forum: 5.x Bugs
Topic: Virus scanners page
Replies: 2
Views: 18712

Virus scanners page

Hi.
Installed efa V5 and when I go to: "Search and reports" --> Virus report (mailscanner/rep_viruses.php)
ESETSEFS is not displayed correctly, in fact it does not work at all.

Solution:

Add:

case 'esetsefs':
$scanner[$vscanner]['name'] = 'ESET';
$scanner[$vscanner]['regexp'] = "/found (?P ...
by gregecslo
07 Sep 2023 14:39
Forum: 4.x Bugs
Topic: DKIM broken since today
Replies: 2
Views: 20937

Re: DKIM broken since today

Found the culprit...

Outlook from O365 apps decided to include SCRIPT tag in outgoing mails since 2 days ago.
DKIM was signed but then mailscanner removed/disarmed script tag and thus corrupted DKIM body signature and sent it out.

So I disabled script tag disarming and voila, job done.

And no ...
by gregecslo
06 Sep 2023 18:30
Forum: 4.x Bugs
Topic: DKIM broken since today
Replies: 2
Views: 20937

DKIM broken since today

Hi all.

So I had my dkim working just fine until today...

For some reason, mail sent from my account from Outlook client and with image pasted in email results in body hash failure.

If I send same mail from OWA or phone client, DKIM is just fine.
Also plain text mail is just fine or html mail ...
by gregecslo
14 Nov 2022 08:06
Forum: How-to
Topic: transport to multiple exchange server (DAG)
Replies: 9
Views: 12495

Re: transport to multiple exchange server (DAG)

I agree...

Thats why we remove the server under maintenance from dns for duration of servicing...
by gregecslo
14 Nov 2022 06:40
Forum: How-to
Topic: transport to multiple exchange server (DAG)
Replies: 9
Views: 12495

Re: transport to multiple exchange server (DAG)

No...

In my case: exch-dag.domain.local resolves to both exchange servers in dag...
by gregecslo
10 Nov 2022 11:38
Forum: How-to
Topic: transport to multiple exchange server (DAG)
Replies: 9
Views: 12495

Re: transport to multiple exchange server (DAG)

Why not like this:

mydomain.com smtp:[exch-dag.domain.local]

Add above host into hosts file and thats it
by gregecslo
25 Jan 2022 07:33
Forum: Discussion
Topic: Inquiry on the next release update
Replies: 3
Views: 5270

Re: Inquiry on the next release update

Hi.

Just a question...
Will we be able to use it on Ubuntu aswell?