Hi,
I was also using bgpd-spamd, and it stopped working recently as well.
It's not your config, issue is seen on my side too.(was working fine for
many months before)
Cheers,
Pywy
Le 11/04/2020 à 16:09, Bryan Harris a écrit :
Hi folks,
I was able to setup my OpenSMTPd on my server maybe 1-2 years ago, and
everything has been working fine. However, recently the bgp-spamd list
that comes down into my bgp settings has not been populating. As far
as email everything is still working I just don't get those bgp lists
anymore, so they don't go into spamd.
I tried looking at the website but it appears it's not working.
Would anybody want to charge me some money in exchange for helping me
figure out my bgp spamd problem?
I will post my config details at the end. I'm using OpenBSD 6.6 and
the OpenSMTPd that comes with that version.
Thanks for any advice.
V/r,
Bryan
[root@sally:/root]
$ smtpd -h
version: OpenSMTPD 6.6.0
usage: smtpd [-dFhnv] [-D macro=value] [-f file] [-P system] [-T trace]
[root@sally:/root]
$ uname -r
6.6
[root@sally:/root]
$ bgpctl show rib community 65066:666
flags: * = Valid, > = Selected, I = via IBGP, A = Announced,
S = Stale, E = Error
origin validation state: N = not-found, V = valid, ! = invalid
origin: i = IGP, e = EGP, ? = Incomplete
flags ovs destination gateway lpref med aspath origin
[root@sally:/root]
$ cat /etc/bgpd.conf
# http://bgp-spamd.net/client/bgpd.html
spamdAS="65066" # AS id of bgp-spamd server - don't edit this
AS 65000 # editable but 65001 is a sane default
fib-update no # Mandatory, to not update the local routing table
nexthop qualify via default
group "spamd-bgp" {
remote-as $spamdAS
multihop 64
export none # Do not send Route Server any information
# uncomment one
#
# us.bgp-spamd.net
neighbor 64.142.121.62
# eu.bgp-spamd.net
neighbor 217.31.80.170
# IPv6 eu.bgp-spamd.net
neighbor 2a00:15a8:0:100:0:d91f:50aa:1
# RS
neighbor 64.142.121.62
}
# deny to any
# deny from any
# allow from group "spamd-bgp"
# 'match' is required, to remove entries when routes are withdrawn
match from group "spamd-bgp" community $spamdAS:42 set pftable
"bgp-spamd-bypass"
match from group "spamd-bgp" community $spamdAS:666 set pftable
"bgp-spamd"