Search found 1553 matches

by pdwalker
12 Jul 2016 08:03
Forum: 3.x Bugs
Topic: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:
Replies: 25
Views: 12430

Re: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:

Quick question: Are you using the ole2macro.pm spamassassin module?

I think that may be where the perl-File-BaseDir module came from.
by pdwalker
12 Jul 2016 07:54
Forum: How-to
Topic: A ReputationList to add
Replies: 14
Views: 7916

Re: A ReputationList to add

Also, how do you know it is working?

I assume I need to install additional perl modules to get senderbase to work correctly with spamassassin?
by pdwalker
12 Jul 2016 07:05
Forum: How-to
Topic: A ReputationList to add
Replies: 14
Views: 7916

Re: A ReputationList to add

What changes did you make?
by pdwalker
12 Jul 2016 07:04
Forum: How-to
Topic: DKIM Question
Replies: 6
Views: 5020

Re: DKIM Question

That's not a bad idea. I think it'd be unlikely that spam has a low spam score and a valid dkim + spf.
by pdwalker
11 Jul 2016 07:03
Forum: 3.x Bugs
Topic: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:
Replies: 25
Views: 12430

Re: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:

Sorry, I have no idea, but what I am going to do is to remove those packages and see if my error goes away.

If the error does go away, I will try to find out why that package was installed in the first place.
by pdwalker
11 Jul 2016 06:28
Forum: 3.x Bugs
Topic: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:
Replies: 25
Views: 12430

Re: 3.0.0.9: SA Learn: WARNING: HOME is not set, using root:

Weird.

Why did you remove perl-File-BaseDir?
by pdwalker
08 Jul 2016 10:31
Forum: How-to
Topic: A ReputationList to add
Replies: 14
Views: 7916

Re: A ReputationList to add

looks interesting.

has anyone else used this before?
by pdwalker
07 Jul 2016 08:52
Forum: Discussion
Topic: Need some help writing my own SA rules
Replies: 14
Views: 7298

Re: Need some help writing my own SA rules

Alternatively, we could write your example as either of these two: #header REPLY_KE_INREPLYTO In-Reply-To =~ /\@domain[1-3].tld/i #header REPLY_KE_INREPLYTO In-Reply-To =~ /\@(domain1.tld|domain2.tld|domain3.tld)/i More information about writing spamassassin rules and using perl regular expressions ...
by pdwalker
07 Jul 2016 08:39
Forum: Discussion
Topic: Need some help writing my own SA rules
Replies: 14
Views: 7298

Re: Need some help writing my own SA rules

Good question. Answer? No idea. However, we can look to the existing spamassassin tests to see if we can find a workable example for you to start with and from what I can see, they do something like the following: header __MY_DOMAIN_1 In-Reply-To =~ /\@domain1.tld/i header __MY_DOMAIN_2 In-Reply-To ...
by pdwalker
07 Jul 2016 08:25
Forum: How-to
Topic: DKIM Question
Replies: 6
Views: 5020

Re: DKIM Question

So, sending a DKIM signed message into my system results in the following spam score DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10 for a total score change of -0.1 The descriptions are describe DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid describe DKIM_VALID Messag...
by pdwalker
07 Jul 2016 08:13
Forum: How-to
Topic: Rule based on secondary Mail Server
Replies: 3
Views: 2904

Re: Rule based on secondary Mail Server

yep. you're right. the information is not there. I have one mail gateway with three public ip addresses, but that information of the receiving ip address is not recorded in the headers, only the information defined in the postfix configuration files (myhostname). So, to make what you want to do work...
by pdwalker
07 Jul 2016 07:30
Forum: Discussion
Topic: Need some help writing my own SA rules
Replies: 14
Views: 7298

Re: Need some help writing my own SA rules

As far as I know, spamassassin only supports regular expressions and does not support includes. So, you'll have to create a chain of "or" conditions to test the domains, or create a rule for each tested domain.
by pdwalker
06 Jul 2016 17:23
Forum: How-to
Topic: DKIM Question
Replies: 6
Views: 5020

Re: DKIM Question

No. A valid DKIM header doesn't mean spam or not spam, it is just an additional weighting factor used by spamassassin to determine the legitimacy of the message. Using it allows other mail systems to trust the message more, so messages sent on your behalf by other providers without DKIM will be cons...
by pdwalker
06 Jul 2016 17:19
Forum: How-to
Topic: How to block SPAMMY emails from legitimate Gmail/Hotmail accounts?
Replies: 3
Views: 3814

Re: How to block SPAMMY emails from legitimate Gmail/Hotmail accounts?

If you can describe in words what makes these messages spammy, then you can adjust your spamassassin rules or weightings to match your description. You said that BAYES thinks it spam, even though it is from gmail, thus I suggested giving the BAYES_xx values of interest to you a greater weight. If yo...
by pdwalker
06 Jul 2016 17:13
Forum: How-to
Topic: Rule based on secondary Mail Server
Replies: 3
Views: 2904

Re: Rule based on secondary Mail Server

I wouldn't want to do this myself, as having higher value MX records is important and necessary, especially if you do have multiple mail servers accepting your incoming mail, or a backup mail host. However, if you wish to do this, it shouldn't be hard to set a rule to check for the domain. I'm not a...
by pdwalker
06 Jul 2016 17:08
Forum: How-to
Topic: How to block SPAMMY emails from legitimate Gmail/Hotmail accounts?
Replies: 3
Views: 3814

Re: How to block SPAMMY emails from legitimate Gmail/Hotmail accounts?

You might want to adjust the BAYES_XX scores upwards to get the result you want.
by pdwalker
05 Jul 2016 15:49
Forum: Discussion
Topic: What does your SA score distribution look like?
Replies: 3
Views: 2875

Re: What does your SA score distribution look like?

Ha! I bet you say that to all the spam filters.

Yes, I'm using the defaults. The domain has existed for a long time and attracts a lot of junk. More than 3/4's of the delivery attempts are rejected outright by the mta, and of the remaining, 30% is still junk.
by pdwalker
05 Jul 2016 10:54
Forum: Discussion
Topic: What does your SA score distribution look like?
Replies: 3
Views: 2875

Re: What does your SA score distribution look like?

Well, since we're comparing the size of our mountains, here's mine.
sa_score_dist.png.png
sa_score_dist.png.png (13.59 KiB) Viewed 2870 times
I'm sure one of you guys has an even bigger one that you're just dying to show off.
by pdwalker
16 Jun 2016 04:59
Forum: How-to
Topic: Reduce false positives
Replies: 1
Views: 2031

Re: Reduce false positives

/etc/MailScanner/MailScanner.conf 2227 # This replaces the SpamAssassin configuration value 'required_hits'. 2228 # If a message achieves a SpamAssassin score higher than this value, 2229 # it is spam. See also the High SpamAssassin Score configuration option. 2230 # This can also be the filename of...
by pdwalker
16 Jun 2016 04:57
Forum: Discussion
Topic: ImageCerberusPLG5 high score, no?
Replies: 22
Views: 12876

Re: ImageCerberusPLG5 high score, no?

If you're interested in playing with SQL, you can run a query to list which messages were affected by certain rules. Of course, you may want to process the results further to make it a little more readable. select timestamp, id, from_address, to_address, subject isspam, ishighspam, issaspam, sascore...
by pdwalker
10 Jun 2016 09:34
Forum: Discussion
Topic: Whitelist is not work when missing "To" filed
Replies: 4
Views: 3330

Re: Whitelist is not work when missing "To" filed

The best place to put that is in the local.cf. That way it won't be overwritten during an upgrade, and you know that these entries will be loaded last.
by pdwalker
09 Jun 2016 16:06
Forum: Discussion
Topic: ImageCerberusPLG5 high score, no?
Replies: 22
Views: 12876

Re: ImageCerberusPLG5 high score, no?

There is a report that'll show you the spam assassin rule hits and the spam/non spam scoring.

Sorry, not at a computer so cannot tell you exactly where. Look under reports or tools and you'll find it.
by pdwalker
08 Jun 2016 09:56
Forum: Discussion
Topic: Link (.lnk) to Ransom
Replies: 1
Views: 2566

Re: Link (.lnk) to Ransom

I believe so. /etc/MailScanner/filename.rules.conf has the following line which suggests it is blocked by default. deny \.lnk$ Possible Eudora *.lnk security hole attack Eudora *.lnk security hole attack But rather than guess, send yourself a text file with the extension .lnk and see what happens. I...
by pdwalker
06 Jun 2016 02:18
Forum: Discussion
Topic: SASL LOGIN authentication failed
Replies: 2
Views: 2675

Re: SASL LOGIN authentication failed

Yes, Denyhosts is under active development again

http://denyhost.sourceforge.net/news.php
by pdwalker
06 Jun 2016 02:15
Forum: Discussion
Topic: SASL LOGIN authentication failed
Replies: 2
Views: 2675

Re: SASL LOGIN authentication failed

Consider implementing Denyhosts or fail2ban

I've used denyhosts for many years, but developement stopped at one point. It looks like someone is continuing the work again so fingers crossed.