Hi, I am new to PMG and I looked through the forums before posting. I cannot see any bayes filter in my received emails. The auto-learning is on in the GUI but does not seem to work.
my local.cf looks like:
---------------------------------------------------------------------------
# dont use things by default
use_bayes 0
bayes_auto_expire 0
bayes_learn_to_journal 1
ok_languages all
envelope_sender_header X-Proxmox-Envelope-From
# use fast lock (non-nfs save)
lock_method flock
use_bayes 1
include /usr/share/spamassassin-extra/KAM.cf
---------------------------------------------------------------------------
I ahve not modified the "local.cf" file. I am confused as to why the "use bayes=" is present at 2 places. Does it comes from the template?
Also, here are some headers for example, in an email I have received that is clearly SPAM:
X-SPAM-LEVEL: Spam detection results: 1
AC_BR_BONANZA 0.001 Too many newlines in a row... spammy template
FROM_EXCESS_BASE64 0.001 From: base64 encoded unnecessarily
FROM_LOCAL_NOVOWEL 0.5 From: localpart has series of non-vowel letters
HTML_IMAGE_RATIO_08 0.001 HTML has a low ratio of text to image area
HTML_MESSAGE 0.001 HTML included in message
KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
MIME_HTML_ONLY 0.1 Message only has text/html MIME parts
MSGID_FROM_MTA_HEADER 0.001 Message-Id was added by a relay
RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS
SPF_HELO_PASS -0.001 SPF: HELO matches SPF record
SPF_PASS -0.001 SPF: sender matches SPF record
I use PMG in a cluster as a relay/filter between Internet and my internal mail server. I have whitelisted only the local IP range so my own server can send emails without being filtered.
The setup run since July 3rd 2020. so far I got 1015 emails with a 10+ score.
in the statistics, for this month, a total of 281 000 emails came through PMG, I can see 56 000 Junk mails, 10 466 spams.
I read I could use sa-learn to train bayes but I have a hard time getting the emails since they are on a Windows based mail server. (I cannot mount a partition or something like that.
Any ideas?
Thanks a lot in advanced.
my local.cf looks like:
---------------------------------------------------------------------------
# dont use things by default
use_bayes 0
bayes_auto_expire 0
bayes_learn_to_journal 1
ok_languages all
envelope_sender_header X-Proxmox-Envelope-From
# use fast lock (non-nfs save)
lock_method flock
use_bayes 1
include /usr/share/spamassassin-extra/KAM.cf
---------------------------------------------------------------------------
I ahve not modified the "local.cf" file. I am confused as to why the "use bayes=" is present at 2 places. Does it comes from the template?
Also, here are some headers for example, in an email I have received that is clearly SPAM:
X-SPAM-LEVEL: Spam detection results: 1
AC_BR_BONANZA 0.001 Too many newlines in a row... spammy template
FROM_EXCESS_BASE64 0.001 From: base64 encoded unnecessarily
FROM_LOCAL_NOVOWEL 0.5 From: localpart has series of non-vowel letters
HTML_IMAGE_RATIO_08 0.001 HTML has a low ratio of text to image area
HTML_MESSAGE 0.001 HTML included in message
KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
MIME_HTML_ONLY 0.1 Message only has text/html MIME parts
MSGID_FROM_MTA_HEADER 0.001 Message-Id was added by a relay
RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS
SPF_HELO_PASS -0.001 SPF: HELO matches SPF record
SPF_PASS -0.001 SPF: sender matches SPF record
I use PMG in a cluster as a relay/filter between Internet and my internal mail server. I have whitelisted only the local IP range so my own server can send emails without being filtered.
The setup run since July 3rd 2020. so far I got 1015 emails with a 10+ score.
in the statistics, for this month, a total of 281 000 emails came through PMG, I can see 56 000 Junk mails, 10 466 spams.
I read I could use sa-learn to train bayes but I have a hard time getting the emails since they are on a Windows based mail server. (I cannot mount a partition or something like that.
Any ideas?
Thanks a lot in advanced.