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

# Appending a modifier :name to a header field name will cause everything
# except the first display name to be removed from the header field. It is
# mainly applicable to header fields containing a single mail address: 'From',
# 'Sender', along with their 'Resent-From' and 'Resent-Sender' counterparts.
[...]
# For example, appending :name to a header name will result in "Foo Blah"
# (without quotes) in all of the following cases:
#
# example@foo (Foo Blah)
[...]
# "Foo Blah" <example@foo>

Best of luck!
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

_______________________________________________
luv-main mailing list
luv-main@luv.asn.au
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to