Questions tagged [spamassassin]

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam.

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam. SpamAssassin does nothing but mark the email as spam; it is up to the mail client to setup rules to filter the marked emails out.

If you are having a problem which is unrelated to programming SpamAssassin, you should likely not be posting to Stack Overflow.

147 questions
0
votes
1 answer

WEKA Preprocessing using SpamAssassin Dataset using stringtowordvector

I am currently working on a project in which I will use the naive Bayes classification method to classify email as spam or clean. I am using WEKA and the well-known SpamAssassin dataset for this. (The dataset can be found here:…
0
votes
1 answer

What is the invalid URI error from SpamAssassin actually matching?

I'm trying to debug some emails that are getting sent to the Spam Folder by SpamAssassin and I encountered an error that I'm having trouble fixing. The problem seems to be that there's an invalid URI somewhere in the email, but I'm not sure how to…
Swift
  • 13,118
  • 5
  • 56
  • 80
0
votes
2 answers

How do I sudo environment?

I am using spamassassin in a php script, but when I train spamassassin as my user the php script's exec command to call spamassassin get the untrained version because of the user specific nature of sa-learn. So I need to sudo to my user in the exec…
kman99
  • 7,315
  • 4
  • 24
  • 20
-1
votes
1 answer

Spamassassin: is bayesian learning working here?

I am trying to train a recently installed copy of Spamassassin, and I'm having the impression that bayesian learning isn't working. First of all: yes, spamd is running with the --allow-tell option. Now, I have a piece of spam. I first run it by…
PaulJ
  • 1,646
  • 5
  • 33
  • 52
-1
votes
2 answers

Spamassassin rule that compares part of the To: header with part of the subject line

I am trying to write a rule that will trigger when the user part of the 'To:' header is present in the subject line, followed by a number or preceded by a number. For example To: myname@thisdomain.com Subject: myname 3679273 or To:…
Rob
  • 155
  • 1
  • 12
-1
votes
1 answer

Moving files to a relative directory matching - spam handling

I am setting up a script to learn spam from a maildir folder ".LearnAsSpam" After the spam is learnt, I'd like to move all spam to the ".Junk" folder for all users: ie: /home/vmail/domain1/user1/Maildir/.LearnAsSpam/cur/*…
FGiorlando
  • 1,121
  • 2
  • 12
  • 22
-1
votes
1 answer

Intregrate existing Procmail with with new SpamAssassin

For many, many years, I have successfully been using procmail and it's recipes without issue, and I have many, many recipes. A few weeks ago, my system adopted/started using spamassassin, and now those procmail recipes that have been used for years…
Zaxxon
  • 182
  • 1
  • 4
  • 18
-1
votes
1 answer

Trying to figure out spamassassin globbing rules

How do the globbing rules work for spamassassin work? I've looked at the docs, but they are not clear as to whether sub-domains are included in a whitelist rule. For example, does: whitelist_from *@somewhere.com also whitelist addresses from…
Lazloman
  • 1,289
  • 5
  • 25
  • 50
-2
votes
1 answer

Outgoing email marked as spam in outlook, despite getting all passes from isnotspam.com

Here is the report from isnotspam.com (below) http://www.isnotspam.com/newlatestreport.php?email=ins-4wz6aize%40isnotspam.com Despite passing all the checks we're still going into spam. Can someone please help me identify from the feedback in the…
-2
votes
1 answer

List of bank domains to stop phish

I'm looking for a full list of bank domain names to include in an anti-phish routine I'm planning, does anyone have a list/URL?
-2
votes
2 answers

Regex to identify emails with only 4 characters after @ and before .tld

We are getting a lot of spam in the form femlmcte@tnbt.com. I can see cPanel Spam assassin allows a regex match to be used to filter mail. I want to write a regex expression that identifies mail in the form anylengthofstrring@abcd.com …
-3
votes
1 answer

Postfix / Spamassassin: Undelivered Mail Returned to Sender

I'm having an issue with a newly configured mailserver where spam emails that are spoofed to come from the local domain are actually accepted by the mailserver, the mail isnt delivered as is though, the spamassassin tags it as spam and then send an…
DeviousDan
1 2 3
9
10