Hello List:

I am operating a smallish postfix server for my law office.  Many of
our contacts use Google's calendar, and when they enter one of our
email addresses into their calendar entries, we receive a flood of
annoying emails.  Invitations / reminders / updates / changes /
cancellations of meetings.

Initially, after receiving twelve emails for a single calendar entry
repeated weekly for three months, I wanted to outright reject the
Google spam.  After the second change within 24 hours, I also wanted to
fire the client.  But maybe there is smarter way to deal with this
annoyance, such as re-directing the emails to an auto-responder or some
other form of automated processing (/dev/null comes to my mind too)?

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

where/how do I best add the restriction to Postfix?  I was thinking to
make it an smtpd_restriction_classes so that I can apply it to some
recipients but not to others.

But maybe rewriting the destination address, or sending an auto-
responder right away?  I just want to get that spam out of the way in
the most elegant way possible.

Thanks in advance for your help,
Yuv

Reply via email to