On Thu, 26 Feb 2015, Peter Fraser wrote:

Hi All I am completely new to writing rules in Spamassassin and would love
some help. I have a Domain called say domain.com and of course if anyone
sends mail from outside the domain addressed as coming from u...@domain.com
it should be spam. I want to block all these as spam except if it is coming
from a set of IP addresses. Anyone ever done this before or could help me
with this?

I do this but I use milter-regex to reject any such forgeries. Your MTA might also be abel to do a better job than SA, what MTA do you use?

SA is not the only tool available, and not always the best.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Teach a man to fish, and he'll eat for life.
  Give him someone else's fish, and he'll vote for you.
-----------------------------------------------------------------------
 8 days until Dawn reaches Ceres

Reply via email to