>> Below is the PCRE that I came up with to catch the offending messages, >> without blocking other correspondence (the contacts and their >> organizations are likely to use Google's SMTP for their regular >> emails): >> >> /^Return-Path:(.+)(calendar-server.bounces.google.com)(.*)/ REJECT No >> Google Calendar Spam Here > > If you reject mail from Google, Google will stop sending you mail. ALL mail. > Can you afford that?
You could use DISCARD instead of REJECT. # DISCARD optional text... # Claim successful delivery and silently discard the # message. Log the optional text if specified, oth- # erwise log a generic message. Best regards Gerald