You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2020/09/29 08:45:12 UTC
How can I mark emails as being spam originating from an ip range owned
by xserver.ua?
% Abuse contact for '176.103.48.0 - 176.103.63.255' is
'abuse@xserver.ua'
inetnum: 176.103.48.0 - 176.103.63.255
netname: XServer-IP-Network-6
country: UA
org: ORG-IV2-RIPE
admin-c: IV25-RIPE
tech-c: IV25-RIPE
status: ASSIGNED PI
mnt-by: RIPE-NCC-END-MNT
mnt-by: MNT-IV25
mnt-routes: MNT-IV25
mnt-routes: ITL-MNT
mnt-domains: MNT-IV25
created: 2011-12-09T13:10:04Z
last-modified: 2017-05-24T13:24:15Z
source: RIPE # Filtered
sponsoring-org: ORG-ML410-RIPE
organisation: ORG-IV2-RIPE
org-name: PE Ivanov Vitaliy Sergeevich
org-type: OTHER
address: 42-A Tobolskaya street, office 230, Kharkov, Ukraine
phone: +380 57 728 12 67
abuse-c: AR19840-RIPE
mnt-ref: MNT-IV25
mnt-by: MNT-IV25
created: 2009-06-16T15:24:59Z
last-modified: 2017-05-12T08:36:23Z
source: RIPE # Filtered
person: Ivanov Vitaliy
address: 42-A Tobolskaya street, office 230, Kharkov, Ukraine
phone: +380 57 728 12 67
nic-hdl: IV25-RIPE
mnt-by: MNT-IV25
created: 2009-06-16T15:19:31Z
last-modified: 2017-05-12T08:37:26Z
source: RIPE # Filtered
% Information related to '176.103.48.0/20AS48031'
route: 176.103.48.0/20
descr: XSERVER
origin: AS48031
mnt-by: MNT-IV25
created: 2012-03-02T11:27:45Z
last-modified: 2012-03-02T11:27:45Z
source: RIPE
Re: mark emails as being spam originating from an ip range owner
Posted by John Hardin <jh...@impsec.org>.
On Tue, 29 Sep 2020, Marc Roos wrote:
> How can I mark emails as being spam originating from an ip range owned
> by xserver.ua?
>
> % Abuse contact for '176.103.48.0 - 176.103.63.255' is
> 'abuse@xserver.ua'
Do you want to just tag and deliver or quarantine them? Or do you want to
discard them?
If the latter, then the most efficient approach is to tell your MTA to
reject SMTP sessions from that IP block with an appropriate message. Avoid
the SA scanning overhead entirely.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Gun control isn’t about preventing violence, it’s about forcing
those rubes in Flyover Country to knuckle under. -- Glenn Reynolds
-----------------------------------------------------------------------
Today: the 79th anniversary of the massacre at Babi Yar
Disarmament enables genocide - Registration enables disarmament
Re: mark emails as being spam originating from an ip range owner
Posted by John Hardin <jh...@impsec.org>.
On Tue, 29 Sep 2020, Kenneth Porter wrote:
> --On Tuesday, September 29, 2020 10:48 AM +0000 Andy Smith
> <an...@strugglers.net> wrote:
>
>> Or consider using ASN plugin:
>
> With that hint, I found this interesting service:
>
> <https://iptoasn.com/>
>
> One could use this to, for example, create firewall rules to block
> connections from hostile ASNs.
Hostile email sources should be TCP tarpitted. :)
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
Re: mark emails as being spam originating from an ip range owner
Posted by Kenneth Porter <sh...@sewingwitch.com>.
--On Tuesday, September 29, 2020 10:48 AM +0000 Andy Smith
<an...@strugglers.net> wrote:
> Or consider using ASN plugin:
With that hint, I found this interesting service:
<https://iptoasn.com/>
One could use this to, for example, create firewall rules to block
connections from hostile ASNs.
RE: mark emails as being spam originating from an ip range owner
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Thanks for the asn tip! There is even a dns service that offers the asn
lookup. This is what I found, maybe there are more.
[@]$ dig +short -t txt 80.53.103.176.origin.asn.cymru.com
"48031 | 176.103.48.0/20 | UA | ripencc | 2011-12-09"
-----Original Message-----
To: users@spamassassin.apache.org
Subject: Re: mark emails as being spam originating from an ip range
owner
Hello,
On Tue, Sep 29, 2020 at 10:49:36AM +0200
> How can I mark emails as being spam originating from an ip range owned
> by xserver.ua?
>
> % Abuse contact for '176.103.48.0 - 176.103.63.255' is
I' not sure if blacklist_from accepts IP addresses or CIDR ranges, but
if it does:
blacklist_from 176.103.48.0/20
Or consider using ASN plugin:
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_ASN.html
and then adding a rule that penalises everything from ASN 48031:
header LOCAL_SPAMMY_ASN_XSERVER X-ASN =~ /\b48031\b/
score LOCAL_SPAMMY_ASN_XSERVER 5.0
describe LOCAL_SPAMMY_ASN_XSERVER Too much spam from xserver.ua
(AS48031)
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Re: mark emails as being spam originating from an ip range owner
Posted by Andy Smith <an...@strugglers.net>.
Hello,
On Tue, Sep 29, 2020 at 10:49:36AM +0200, Marc Roos wrote:
> How can I mark emails as being spam originating from an ip range owned
> by xserver.ua?
>
> % Abuse contact for '176.103.48.0 - 176.103.63.255' is
I' not sure if blacklist_from accepts IP addresses or CIDR ranges,
but if it does:
blacklist_from 176.103.48.0/20
Or consider using ASN plugin:
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_ASN.html
and then adding a rule that penalises everything from ASN 48031:
header LOCAL_SPAMMY_ASN_XSERVER X-ASN =~ /\b48031\b/
score LOCAL_SPAMMY_ASN_XSERVER 5.0
describe LOCAL_SPAMMY_ASN_XSERVER Too much spam from xserver.ua (AS48031)
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
mark emails as being spam originating from an ip range owner
Posted by Marc Roos <M....@f1-outsourcing.eu>.
(sorry now with subject)
How can I mark emails as being spam originating from an ip range owned
by xserver.ua?
% Abuse contact for '176.103.48.0 - 176.103.63.255' is
'abuse@xserver.ua'
inetnum: 176.103.48.0 - 176.103.63.255
netname: XServer-IP-Network-6
country: UA
org: ORG-IV2-RIPE
admin-c: IV25-RIPE
tech-c: IV25-RIPE
status: ASSIGNED PI
mnt-by: RIPE-NCC-END-MNT
mnt-by: MNT-IV25
mnt-routes: MNT-IV25
mnt-routes: ITL-MNT
mnt-domains: MNT-IV25
created: 2011-12-09T13:10:04Z
last-modified: 2017-05-24T13:24:15Z
source: RIPE # Filtered
sponsoring-org: ORG-ML410-RIPE
organisation: ORG-IV2-RIPE
org-name: PE Ivanov Vitaliy Sergeevich
org-type: OTHER
address: 42-A Tobolskaya street, office 230, Kharkov, Ukraine
phone: +380 57 728 12 67
abuse-c: AR19840-RIPE
mnt-ref: MNT-IV25
mnt-by: MNT-IV25
created: 2009-06-16T15:24:59Z
last-modified: 2017-05-12T08:36:23Z
source: RIPE # Filtered
person: Ivanov Vitaliy
address: 42-A Tobolskaya street, office 230, Kharkov, Ukraine
phone: +380 57 728 12 67
nic-hdl: IV25-RIPE
mnt-by: MNT-IV25
created: 2009-06-16T15:19:31Z
last-modified: 2017-05-12T08:37:26Z
source: RIPE # Filtered
% Information related to '176.103.48.0/20AS48031'
route: 176.103.48.0/20
descr: XSERVER
origin: AS48031
mnt-by: MNT-IV25
created: 2012-03-02T11:27:45Z
last-modified: 2012-03-02T11:27:45Z
source: RIPE