Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread RW
On Tue, 20 Sep 2016 22:02:14 +0100 Groach wrote: > On 20/09/2016 20:31, RW wrote: > > On Tue, 20 Sep 2016 18:56:47 +0100 > > Groach wrote: > > > >> This Spamassassin plugin will allow you to block by country. > >> > >> Create the 'nerd.cf' file containing the code, put it in your > >> spamassasi

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Groach
On 20/09/2016 20:31, RW wrote: On Tue, 20 Sep 2016 18:56:47 +0100 Groach wrote: This Spamassassin plugin will allow you to block by country. Create the 'nerd.cf' file containing the code, put it in your spamassasin ETC directory, and uncomment the countries you wish to block. Full details in

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread RW
On Tue, 20 Sep 2016 18:56:47 +0100 Groach wrote: > This Spamassassin plugin will allow you to block by country. > > Create the 'nerd.cf' file containing the code, put it in your > spamassasin ETC directory, and uncomment the countries you wish to > block. Full details in the post. > https://w

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread RW
On Tue, 20 Sep 2016 15:24:52 + Shawn Bakhtiar wrote: > > On Sep 20, 2016, at 8:13 AM, RW wrote: > > > > On Tue, 20 Sep 2016 14:34:02 + > > Shawn Bakhtiar wrote: > > > >> If you are strictly looking to block by IP addresses this is a far > >> better task left to the firewall, and confi

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Groach
On 20/09/2016 11:53, Thomas Barth wrote: Hello, is it possible to use geoiplookup with Spamassassin? I want to reject all mails as spam not send in my country or another second country, but accept whitelisted mailing list addresses. Any chance to use geoiplookup for this? I want to exclude

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Groach
This Spamassassin plugin will allow you to block by country. Create the 'nerd.cf' file containing the code, put it in your spamassasin ETC directory, and uncomment the countries you wish to block. Full details in the post. https://www.hmailserver.com/forum/viewtopic.php?f=7&t=29992&p=187520#p

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Joe Quinn
On 9/20/2016 9:46 AM, Thomas Barth wrote: Am 20.09.2016 um 15:27 schrieb Bowie Bailey: X-Spam-Status: Yes, score=14.009 tag=2 tag2=6.31 kill=6.31 tests=[HTML_MESSAGE=0.001, MESSAGEID_LOCAL=8, MIME_HTML_ONLY=1.105, PYZOR_CHECK=1.985, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274]

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Shawn Bakhtiar
> On Sep 20, 2016, at 8:13 AM, RW wrote: > > On Tue, 20 Sep 2016 14:34:02 + > Shawn Bakhtiar wrote: > >> If you are strictly looking to block by IP addresses this is a far >> better task left to the firewall, and configured by networks not >> individual IP addresses. > > It shouldn't real

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread RW
On Tue, 20 Sep 2016 14:34:02 + Shawn Bakhtiar wrote: > If you are strictly looking to block by IP addresses this is a far > better task left to the firewall, and configured by networks not > individual IP addresses. It shouldn't really be about blocking, it's about biasing the score.

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Shawn Bakhtiar
If you are strictly looking to block by IP addresses this is a far better task left to the firewall, and configured by networks not individual IP addresses. There are many ranges which should not be sending email directly (IE those allocated by providers to home users). Unfortunately finding al

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread RW
On Tue, 20 Sep 2016 15:46:21 +0200 Thomas Barth wrote: > Am 20.09.2016 um 15:27 schrieb Bowie Bailey: > > >> X-Spam-Status: Yes, score=14.009 tag=2 tag2=6.31 kill=6.31 > >> tests=[HTML_MESSAGE=0.001, MESSAGEID_LOCAL=8, > >> MIME_HTML_ONLY=1.105, > >> PYZOR_CHECK=1.985, RCVD_IN_BRB

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Bowie Bailey
On 9/20/2016 9:46 AM, Thomas Barth wrote: Am 20.09.2016 um 15:27 schrieb Bowie Bailey: X-Spam-Status: Yes, score=14.009 tag=2 tag2=6.31 kill=6.31 tests=[HTML_MESSAGE=0.001, MESSAGEID_LOCAL=8, MIME_HTML_ONLY=1.105, PYZOR_CHECK=1.985, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274]

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread li...@rhsoft.net
Am 20.09.2016 um 15:46 schrieb Thomas Barth: I read that 5.0 is aggressive and suitable for single user setup, conservative values are 8.0 or 11.0 depends on your glue, setup and bayes-training many setups tag spam with 5.0 or 5.5 while the glue like a milter rejects spam above 8.0 points

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Thomas Barth
Am 20.09.2016 um 15:27 schrieb Bowie Bailey: X-Spam-Status: Yes, score=14.009 tag=2 tag2=6.31 kill=6.31 tests=[HTML_MESSAGE=0.001, MESSAGEID_LOCAL=8, MIME_HTML_ONLY=1.105, PYZOR_CHECK=1.985, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274] autolearn=no autolearn_force=no

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Dear Thomas, Thomas Barth 께서 쓰시길, 《記事 全文 <5eddfcdb-957c-e7c0-b133-a40c7ab37...@txbweb.de> 에서》: > Hello, > > is it possible to use geoiplookup with Spamassassin? I want to reject > all mails as spam not send in my country or another second country, > but accept whitelisted mailing list addresses

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Bowie Bailey
On 9/20/2016 7:31 AM, Thomas Barth wrote: Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas: Message-Id: <20160920154140.f5a976c...@static.vnpt.vn.local> you can put this in /etc/spamassassin/local.cf header MESSAGEID_LOCAL Message-Id =~ /\.local>$/ scoreMESSAGEID_LOCAL 1 descr

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Paul Stead
On 20/09/16 12:31, Thomas Barth wrote: Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas: Message-Id: <20160920154140.f5a976c...@static.vnpt.vn.local> you can put this in /etc/spamassassin/local.cf header MESSAGEID_LOCAL Message-Id

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Matus UHLAR - fantomas
Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas: Message-Id: <20160920154140.f5a976c...@static.vnpt.vn.local> you can put this in /etc/spamassassin/local.cf header MESSAGEID_LOCAL Message-Id =~ /\.local>$/ scoreMESSAGEID_LOCAL 1 describe MESSAGEID_LOCAL Message-Id contains ".lo

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Thomas Barth
Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas: Message-Id: <20160920154140.f5a976c...@static.vnpt.vn.local> you can put this in /etc/spamassassin/local.cf header MESSAGEID_LOCAL Message-Id =~ /\.local>$/ scoreMESSAGEID_LOCAL 1 describe MESSAGEID_LOCAL Message-Id contains ".

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread RW
On Tue, 20 Sep 2016 12:50:26 +0200 Thomas Barth wrote: > Thanks for your help Matus > > bayes_auto_learn 1 > > For autolearning do I have to put these mails to a special folder? No, but autolearning is not very good. If you are scanning your own mail you are better-off not using it. IIWY I'd t

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Olivier
On 20/09/16 11:53, Thomas Barth wrote: > Hello, > > is it possible to use geoiplookup with Spamassassin? I want to reject > all mails as spam not send in my country or another second country, > but accept whitelisted mailing list addresses. Any chance to use > geoiplookup for this? I want to exclud

Re: Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Paul Stead
On 20/09/16 11:53, Thomas Barth wrote: Hello, is it possible to use geoiplookup with Spamassassin? I want to reject all mails as spam not send in my country or another second country, but accept whitelisted mailing list addresses. Any chance to use geoiplookup for this? I want to exclude Spamme

Spam by IP-address? Spamassassin with geoiplookup?

2016-09-20 Thread Thomas Barth
Hello, is it possible to use geoiplookup with Spamassassin? I want to reject all mails as spam not send in my country or another second country, but accept whitelisted mailing list addresses. Any chance to use geoiplookup for this? I want to exclude Spammer Countries e.g. China, Thaiwan, Indi

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Thomas Barth
Thanks for your help Matus Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas: there are many ways to make SA better - configure BAYES database, enable network tests (razor, pyzor, DCC), and not use DNS server for resolution that is shared with other companies... I have already enabled raz

Re: How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Matus UHLAR - fantomas
On 20.09.16 12:15, Thomas Barth wrote: I get mails not recognized as spam and I would like to extend spamassassin to reject these mails. there are many ways to make SA better - configure BAYES database, enable network tests (razor, pyzor, DCC), and not use DNS server for resolution that is shar

How to reject mails with special message-id (Debian, Amavis, Spamassassin)

2016-09-20 Thread Thomas Barth
Hello, I get mails not recognized as spam and I would like to extend spamassassin to reject these mails. The mails look very normal, but the message-id is conspicuous. I want to reject the mail if it contains .local at the end of message-id. Subject: Tracking data From: "Paula Booker" MIME-