Change iCal Server invitations so they will clear spam assassin

Mar 31, '11 07:30:00AM

Contributed by: mmblz

The default invitations which iCal Server sends may be seen as spam by Spam Assassin (score of 5.8 or so), because of a large picture attachment.

The workaround for this I found was to modify the template for the invitation to eliminate the attachment.

The templates for iCal Server invitations are located in: /usr/share/caldavd/share/email_templates.

I changed mine so they are straightforward but at least not seen as spam. For example, my invite.html is:

<html>
<head></head>
<body>
<p>Event: %(summary)s</p>
<p>Organizer: %(htmlOrganizer)s</p>
<p>Location: %(location)s</p>
<p>Date: %(dateInfo)s %(recurrenceInfo)s</p>
<p>Time: %(timeInfo)s %(durationInfo)s</p>
<p>Description: %(description)s</p>
<p>Attendees: %(htmlAttendees)s</p>
</body>
</html>

[crarko adds: I haven't tested this one. It's a bit of a followup to this earlier hint.]

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20110328134806331