On Fri, 1 Apr 2016 11:47:42 PM Chris Samuel via luv-main wrote:
> On Friday, 1 April 2016 10:22:40 PM AEDT Russell Coker via luv-main wrote:
> > Is there a good way of stopping such spam with Postfix and SpamAssassin?
> 
> You can match on the display-name in "header" tests with SpamAssassin using
> the :name suffix according to the docs:
> 
> http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html

header FAKE_DOMAIN From =~ /@coker.com.au/:addr

From the documentation you reference it appears that the above line might do 
what's necessary.  Writing a shell script that generates a config file listing 
every domain that the server supports should be easy enough.  Then I just have 
to make sure that SA doesn't run on local mail.

On Sat, 2 Apr 2016 01:32:31 AM Andrew McGlashan via luv-main wrote:
> Above, the "postmast..." part is just the pretty name, it isn't the
> real from address; still the trimas.com.au domain has no SPF record for
> validation anyway.

I know, but forging an address in my domain is a very good criteria for 
recognising spam.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to