Pontus
May 27th, 2003, 18:32
Hi!!

Im using these lines in postfix's main.cf to stop a few spammers from known open relays:

reject_rbl_client relays.ordb.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client proxies.relays.monkeys.com,
reject_rbl_client opm.blitzed.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client blackholes.easynet.nl,

Is it possible to make spamd handle this instead of postfix?? Now these spamming bastards ( :D ) actually gets some response, "This mail was handled by an open relay - please visit <http://ORDB.org/lookup/?host=64.30.15.67"..... I would feel much better if I could rdr them to spamd, I want them to suffer :-)

Regards
Pontus

Pontus
May 28th, 2003, 20:48
Hmm, no one?? I guess this cant be done, bad though because most of the "spammers lists" out there are these "dns based" like ordb.org... Would be a nice feature in the future, spamd listens on port 25, and if the incoming mail isnt a spam then rdr the traffic to postfix (configured to listens to say port 8000 or something), else (the incoming mail = spam) do the slow thing :-)

elmore
May 28th, 2003, 20:49
I actually was doing some research earlier today on your post. I'll let you know what I find.

Pontus
May 28th, 2003, 22:01
Thanks elmore!!! :-) Do you know what these two "rules" in spamd.conf means??

relaydb-black:\
:black:\
:msg="SPAM. Your address %A is in my relaydb list.":\
:method=exec:\
:file=relaydb -4lb:

relaydb-white:\
:white:\
:method=exec:\
:file=relaydb -4lw:

It wants to execute the program relaydb, but there is no such program....

Regards
Pontus

frisco
May 28th, 2003, 22:24
It wants to execute the program relaydb, but there is no such program....


There is in ports, ports/mail/relaydb/
or package relaydb-1.0.tgz

I bet that's what it's looking for.

frisco
May 29th, 2003, 12:05
http://www.benzedrine.cx/relaydb.html

More to read on spamd - how Daniel Hartmeier uses it.

elmore
May 29th, 2003, 13:21
Dammit frisco you beat me to the link!