5/20/06, Craig Hammond <Craig (AT) sbisolutions (DOT) com.auwrote:
Hi all,
I'm using spamd and it does a great job.
What I'm trying to figure out is how to easily add the IP's of the
sending mail server for the few
spam that still get through.
By easy, I mean for clients of mine who use Exchange/, where I
put a obsd box running spamd
in front of Exchange.
I am trying to find a way where I could tell my clients that when some
spam does get through, just forward
that spam to a particular email address. Some process will extract the
IP of the MTA that sent the spam
and blacklist it.
I installed and played around with relaydb from ports, but that doesn't
work with emails that have been forwarded.
Any ideas?
--
You do know that headers can be forged right? So an automagic forward
-|/script -blacklist from a pissed off user can end up
blacklisting a legitimate MTA.
You may want to just look into greylisting and using some aggressive
milters (milter_regex is my savior).
than that, just read aliases(5), forward(5) or look into procmail