1.1 --- a/imiptools/__init__.py Tue Oct 13 17:10:40 2015 +0200 1.2 +++ b/imiptools/__init__.py Tue Oct 13 18:34:26 2015 +0200 1.3 @@ -95,9 +95,22 @@ 1.4 # However, outgoing messages do not usually presume anything about the 1.5 # eventual recipients and focus on the sender instead. 1.6 1.7 + # The sender's address is preferably derived from any outgoing recipient 1.8 + # address because the "From" header may provide a different address 1.9 + # (from the calendar system) to the actual address of the user. 1.10 + 1.11 else: 1.12 - Recipient(None, messenger, store, publisher, preferences_dir, self.handlers, self.outgoing_only, self.debug 1.13 - ).process(msg, senders) 1.14 + prefix = "%s+" % config.OUTGOING_PREFIX 1.15 + copied = [recipient[len(prefix):] 1.16 + for recipient in get_addresses(get_all_values(msg, "Bcc")) 1.17 + or [] 1.18 + if recipient.startswith(prefix)] or \ 1.19 + get_addresses(get_all_values(msg, "From")) or \ 1.20 + [] 1.21 + 1.22 + if copied and len(copied) == 1: 1.23 + Recipient(get_uri(copied[0]), messenger, store, publisher, preferences_dir, self.handlers, self.outgoing_only, self.debug 1.24 + ).process(msg, senders) 1.25 1.26 def process_args(self, args, stream): 1.27 1.28 @@ -236,7 +249,7 @@ 1.29 # Check for participating recipients. Non-participating recipients will 1.30 # have their messages left as being unhandled. 1.31 1.32 - if self.outgoing_only or self.is_participating(): 1.33 + if self.is_participating(): 1.34 1.35 # Check for returned messages. 1.36
2.1 --- a/imiptools/content.py Tue Oct 13 17:10:40 2015 +0200 2.2 +++ b/imiptools/content.py Tue Oct 13 18:34:26 2015 +0200 2.3 @@ -69,7 +69,6 @@ 2.4 # Dispatch to a handler and obtain any response. 2.5 2.6 handler.set_object(Object({name : item})) 2.7 - handler.set_identity(method) 2.8 2.9 if handler.is_usable(method): 2.10
3.1 --- a/imiptools/handlers/person_outgoing.py Tue Oct 13 17:10:40 2015 +0200 3.2 +++ b/imiptools/handlers/person_outgoing.py Tue Oct 13 18:34:26 2015 +0200 3.3 @@ -20,8 +20,7 @@ 3.4 this program. If not, see <http://www.gnu.org/licenses/>. 3.5 """ 3.6 3.7 -from imiptools.client import Client 3.8 -from imiptools.data import get_uri, uri_dict, uri_values 3.9 +from imiptools.data import uri_dict, uri_values 3.10 from imiptools.handlers import Handler 3.11 from imiptools.handlers.common import CommonEvent 3.12 3.13 @@ -29,34 +28,15 @@ 3.14 3.15 "Handling mechanisms specific to people." 3.16 3.17 - def set_identity(self, method): 3.18 - 3.19 - """ 3.20 - Set the current user for the current object in the context of the given 3.21 - 'method'. It is usually set when initialising the handler, using the 3.22 - recipient details, but outgoing messages do not reference the recipient 3.23 - in this way. 3.24 - """ 3.25 - 3.26 - if self.obj: 3.27 - from_organiser = method in self.organiser_methods 3.28 - self.user = get_uri(self.obj.get_value(from_organiser and "ORGANIZER" or "ATTENDEE")) 3.29 - 3.30 def _add(self): 3.31 3.32 "Add a recurrence for the current object." 3.33 3.34 - if not Client.is_participating(self): 3.35 - return False 3.36 - 3.37 - # Obtain valid organiser and attendee details. 3.38 + # Check for event using UID. 3.39 3.40 - oa = self.require_organiser_and_attendees() 3.41 - if not oa: 3.42 + if not self.have_new_object(): 3.43 return False 3.44 3.45 - (organiser, organiser_attr), attendees = oa 3.46 - 3.47 # Ignore unknown objects. 3.48 3.49 if not self.get_stored_object_version(): 3.50 @@ -83,9 +63,6 @@ 3.51 from an organiser if 'from_organiser' is set to a true value. 3.52 """ 3.53 3.54 - if not Client.is_participating(self): 3.55 - return False 3.56 - 3.57 # Check for a new event, tolerating not-strictly-new events if the 3.58 # attendee is responding. 3.59 3.60 @@ -141,9 +118,6 @@ 3.61 from an organiser if 'from_organiser' is set to a true value. 3.62 """ 3.63 3.64 - if not Client.is_participating(self): 3.65 - return False 3.66 - 3.67 # Check for event using UID. 3.68 3.69 if not self.have_new_object(): 3.70 @@ -210,9 +184,6 @@ 3.71 3.72 "Remove any counter-proposals for the given event." 3.73 3.74 - if not Client.is_participating(self): 3.75 - return False 3.76 - 3.77 # Check for event using UID. 3.78 3.79 if not self.have_new_object():
4.1 --- a/tests/templates/event-add-person-recurring.txt Tue Oct 13 17:10:40 2015 +0200 4.2 +++ b/tests/templates/event-add-person-recurring.txt Tue Oct 13 18:34:26 2015 +0200 4.3 @@ -2,6 +2,7 @@ 4.4 MIME-Version: 1.0 4.5 From: paul.boddie@example.com 4.6 To: vincent.vole@example.com 4.7 +Bcc: people-outgoing+paul.boddie@example.com 4.8 Subject: Invitation! 4.9 4.10 --===============0047278175==
5.1 --- a/tests/templates/event-add-recurring.txt Tue Oct 13 17:10:40 2015 +0200 5.2 +++ b/tests/templates/event-add-recurring.txt Tue Oct 13 18:34:26 2015 +0200 5.3 @@ -2,6 +2,7 @@ 5.4 MIME-Version: 1.0 5.5 From: paul.boddie@example.com 5.6 To: resource-room-confroom@example.com 5.7 +Bcc: people-outgoing+paul.boddie@example.com 5.8 Subject: Invitation! 5.9 5.10 --===============0047278175==
6.1 --- a/tests/templates/event-cancel-multiple-attendee.txt Tue Oct 13 17:10:40 2015 +0200 6.2 +++ b/tests/templates/event-cancel-multiple-attendee.txt Tue Oct 13 18:34:26 2015 +0200 6.3 @@ -2,6 +2,7 @@ 6.4 MIME-Version: 1.0 6.5 From: paul.boddie@example.com 6.6 To: resource-room-confroom@example.com 6.7 +Bcc: people-outgoing+paul.boddie@example.com 6.8 Subject: Cancellation! 6.9 6.10 Uninvite only resource-room-confroom from the event.
7.1 --- a/tests/templates/event-cancel-person-all.txt Tue Oct 13 17:10:40 2015 +0200 7.2 +++ b/tests/templates/event-cancel-person-all.txt Tue Oct 13 18:34:26 2015 +0200 7.3 @@ -2,6 +2,7 @@ 7.4 MIME-Version: 1.0 7.5 From: paul.boddie@example.com 7.6 To: vincent.vole@example.com 7.7 +Bcc: people-outgoing+paul.boddie@example.com 7.8 Subject: Cancellation! 7.9 7.10 Cancel the event for vincent.vole and paul.boddie. The free/busy details for
8.1 --- a/tests/templates/event-cancel-person-recurring-instance.txt Tue Oct 13 17:10:40 2015 +0200 8.2 +++ b/tests/templates/event-cancel-person-recurring-instance.txt Tue Oct 13 18:34:26 2015 +0200 8.3 @@ -2,6 +2,7 @@ 8.4 MIME-Version: 1.0 8.5 From: paul.boddie@example.com 8.6 To: vincent.vole@example.com 8.7 +Bcc: people-outgoing+paul.boddie@example.com 8.8 Subject: Cancellation! 8.9 8.10 Cancel an instance for vincent.vole and paul.boddie.
9.1 --- a/tests/templates/event-cancel-person-recurring-rescheduled-instance.txt Tue Oct 13 17:10:40 2015 +0200 9.2 +++ b/tests/templates/event-cancel-person-recurring-rescheduled-instance.txt Tue Oct 13 18:34:26 2015 +0200 9.3 @@ -2,6 +2,7 @@ 9.4 MIME-Version: 1.0 9.5 From: paul.boddie@example.com 9.6 To: vincent.vole@example.com 9.7 +Bcc: people-outgoing+paul.boddie@example.com 9.8 Subject: Cancellation! 9.9 9.10 Cancel an instance for vincent.vole and paul.boddie.
10.1 --- a/tests/templates/event-cancel-person-recurring.txt Tue Oct 13 17:10:40 2015 +0200 10.2 +++ b/tests/templates/event-cancel-person-recurring.txt Tue Oct 13 18:34:26 2015 +0200 10.3 @@ -2,6 +2,7 @@ 10.4 MIME-Version: 1.0 10.5 From: paul.boddie@example.com 10.6 To: vincent.vole@example.com 10.7 +Bcc: people-outgoing+paul.boddie@example.com 10.8 Subject: Cancellation! 10.9 10.10 Cancel the event for vincent.vole and paul.boddie.
11.1 --- a/tests/templates/event-cancel-person.txt Tue Oct 13 17:10:40 2015 +0200 11.2 +++ b/tests/templates/event-cancel-person.txt Tue Oct 13 18:34:26 2015 +0200 11.3 @@ -2,6 +2,7 @@ 11.4 MIME-Version: 1.0 11.5 From: paul.boddie@example.com 11.6 To: vincent.vole@example.com 11.7 +Bcc: people-outgoing+paul.boddie@example.com 11.8 Subject: Cancellation! 11.9 11.10 Cancel the event for vincent.vole and paul.boddie. The free/busy details for
12.1 --- a/tests/templates/event-cancel-recurring-day.txt Tue Oct 13 17:10:40 2015 +0200 12.2 +++ b/tests/templates/event-cancel-recurring-day.txt Tue Oct 13 18:34:26 2015 +0200 12.3 @@ -2,6 +2,7 @@ 12.4 MIME-Version: 1.0 12.5 From: paul.boddie@example.com 12.6 To: resource-room-confroom@example.com 12.7 +Bcc: people-outgoing+paul.boddie@example.com 12.8 Subject: Cancellation! 12.9 12.10 Cancel the event for resource-room-confroom and paul.boddie.
13.1 --- a/tests/templates/event-cancel-recurring-exdate-floating.txt Tue Oct 13 17:10:40 2015 +0200 13.2 +++ b/tests/templates/event-cancel-recurring-exdate-floating.txt Tue Oct 13 18:34:26 2015 +0200 13.3 @@ -2,6 +2,7 @@ 13.4 MIME-Version: 1.0 13.5 From: paul.boddie@example.com 13.6 To: resource-room-confroom@example.com 13.7 +Bcc: people-outgoing+paul.boddie@example.com 13.8 Subject: Cancellation! 13.9 13.10 Cancel the event for resource-room-confroom and paul.boddie.
14.1 --- a/tests/templates/event-cancel-recurring-exdate.txt Tue Oct 13 17:10:40 2015 +0200 14.2 +++ b/tests/templates/event-cancel-recurring-exdate.txt Tue Oct 13 18:34:26 2015 +0200 14.3 @@ -2,6 +2,7 @@ 14.4 MIME-Version: 1.0 14.5 From: paul.boddie@example.com 14.6 To: resource-room-confroom@example.com 14.7 +Bcc: people-outgoing+paul.boddie@example.com 14.8 Subject: Cancellation! 14.9 14.10 Cancel the event for resource-room-confroom and paul.boddie.
15.1 --- a/tests/templates/event-cancel-recurring-indefinitely.txt Tue Oct 13 17:10:40 2015 +0200 15.2 +++ b/tests/templates/event-cancel-recurring-indefinitely.txt Tue Oct 13 18:34:26 2015 +0200 15.3 @@ -2,6 +2,7 @@ 15.4 MIME-Version: 1.0 15.5 From: paul.boddie@example.com 15.6 To: resource-room-confroom@example.com 15.7 +Bcc: people-outgoing+paul.boddie@example.com 15.8 Subject: Cancellation! 15.9 15.10 Cancel the event for resource-room-confroom and paul.boddie.
16.1 --- a/tests/templates/event-cancel-recurring-instance.txt Tue Oct 13 17:10:40 2015 +0200 16.2 +++ b/tests/templates/event-cancel-recurring-instance.txt Tue Oct 13 18:34:26 2015 +0200 16.3 @@ -2,6 +2,7 @@ 16.4 MIME-Version: 1.0 16.5 From: paul.boddie@example.com 16.6 To: resource-room-confroom@example.com 16.7 +Bcc: people-outgoing+paul.boddie@example.com 16.8 Subject: Cancellation! 16.9 16.10 Cancel an instance for resource-room-confroom and paul.boddie.
17.1 --- a/tests/templates/event-cancel-recurring.txt Tue Oct 13 17:10:40 2015 +0200 17.2 +++ b/tests/templates/event-cancel-recurring.txt Tue Oct 13 18:34:26 2015 +0200 17.3 @@ -2,6 +2,7 @@ 17.4 MIME-Version: 1.0 17.5 From: paul.boddie@example.com 17.6 To: resource-room-confroom@example.com 17.7 +Bcc: people-outgoing+paul.boddie@example.com 17.8 Subject: Cancellation! 17.9 17.10 Cancel the event for resource-room-confroom and paul.boddie.
18.1 --- a/tests/templates/event-cancel.txt Tue Oct 13 17:10:40 2015 +0200 18.2 +++ b/tests/templates/event-cancel.txt Tue Oct 13 18:34:26 2015 +0200 18.3 @@ -2,6 +2,7 @@ 18.4 MIME-Version: 1.0 18.5 From: paul.boddie@example.com 18.6 To: resource-room-confroom@example.com 18.7 +Bcc: people-outgoing+paul.boddie@example.com 18.8 Subject: Cancellation! 18.9 18.10 Cancel the event for resource-room-confroom and paul.boddie.
19.1 --- a/tests/templates/event-refresh-person-recurring-non-attendee.txt Tue Oct 13 17:10:40 2015 +0200 19.2 +++ b/tests/templates/event-refresh-person-recurring-non-attendee.txt Tue Oct 13 18:34:26 2015 +0200 19.3 @@ -2,6 +2,7 @@ 19.4 MIME-Version: 1.0 19.5 From: oliver.otter@example.com 19.6 To: paul.boddie@example.com 19.7 +Bcc: people-outgoing+oliver.otter@example.com 19.8 Subject: Refresh! 19.9 19.10 --===============0047278175==
20.1 --- a/tests/templates/event-refresh-person-recurring.txt Tue Oct 13 17:10:40 2015 +0200 20.2 +++ b/tests/templates/event-refresh-person-recurring.txt Tue Oct 13 18:34:26 2015 +0200 20.3 @@ -2,6 +2,7 @@ 20.4 MIME-Version: 1.0 20.5 From: vincent.vole@example.com 20.6 To: paul.boddie@example.com 20.7 +Bcc: people-outgoing+vincent.vole@example.com 20.8 Subject: Refresh! 20.9 20.10 --===============0047278175==
21.1 --- a/tests/templates/event-request-bad-dtend.txt Tue Oct 13 17:10:40 2015 +0200 21.2 +++ b/tests/templates/event-request-bad-dtend.txt Tue Oct 13 18:34:26 2015 +0200 21.3 @@ -2,6 +2,7 @@ 21.4 MIME-Version: 1.0 21.5 From: paul.boddie@example.com 21.6 To: resource-room-confroom@example.com 21.7 +Bcc: people-outgoing+paul.boddie@example.com 21.8 Subject: Invitation! 21.9 21.10 --===============0047278175==
22.1 --- a/tests/templates/event-request-bad-dtstamp.txt Tue Oct 13 17:10:40 2015 +0200 22.2 +++ b/tests/templates/event-request-bad-dtstamp.txt Tue Oct 13 18:34:26 2015 +0200 22.3 @@ -2,6 +2,7 @@ 22.4 MIME-Version: 1.0 22.5 From: paul.boddie@example.com 22.6 To: resource-room-confroom@example.com 22.7 +Bcc: people-outgoing+paul.boddie@example.com 22.8 Subject: Invitation! 22.9 22.10 --===============0047278175==
23.1 --- a/tests/templates/event-request-bad-dtstart.txt Tue Oct 13 17:10:40 2015 +0200 23.2 +++ b/tests/templates/event-request-bad-dtstart.txt Tue Oct 13 18:34:26 2015 +0200 23.3 @@ -2,6 +2,7 @@ 23.4 MIME-Version: 1.0 23.5 From: paul.boddie@example.com 23.6 To: resource-room-confroom@example.com 23.7 +Bcc: people-outgoing+paul.boddie@example.com 23.8 Subject: Invitation! 23.9 23.10 --===============0047278175==
24.1 --- a/tests/templates/event-request-conflict-utc.txt Tue Oct 13 17:10:40 2015 +0200 24.2 +++ b/tests/templates/event-request-conflict-utc.txt Tue Oct 13 18:34:26 2015 +0200 24.3 @@ -2,6 +2,7 @@ 24.4 MIME-Version: 1.0 24.5 From: paul.boddie@example.com 24.6 To: resource-room-confroom@example.com 24.7 +Bcc: people-outgoing+paul.boddie@example.com 24.8 Subject: Invitation! 24.9 24.10 --===============0047278175==
25.1 --- a/tests/templates/event-request-conflict.txt Tue Oct 13 17:10:40 2015 +0200 25.2 +++ b/tests/templates/event-request-conflict.txt Tue Oct 13 18:34:26 2015 +0200 25.3 @@ -2,6 +2,7 @@ 25.4 MIME-Version: 1.0 25.5 From: paul.boddie@example.com 25.6 To: resource-room-confroom@example.com 25.7 +Bcc: people-outgoing+paul.boddie@example.com 25.8 Subject: Invitation! 25.9 25.10 --===============0047278175==
26.1 --- a/tests/templates/event-request-group.txt Tue Oct 13 17:10:40 2015 +0200 26.2 +++ b/tests/templates/event-request-group.txt Tue Oct 13 18:34:26 2015 +0200 26.3 @@ -2,6 +2,7 @@ 26.4 MIME-Version: 1.0 26.5 From: $SENDERADDRESS 26.6 To: resource-room-confroom@example.com 26.7 +Bcc: people-outgoing+$SENDERADDRESS@example.com 26.8 Subject: Invitation! 26.9 26.10 --===============0047278175==
27.1 --- a/tests/templates/event-request-imposter-attendee.txt Tue Oct 13 17:10:40 2015 +0200 27.2 +++ b/tests/templates/event-request-imposter-attendee.txt Tue Oct 13 18:34:26 2015 +0200 27.3 @@ -2,6 +2,7 @@ 27.4 MIME-Version: 1.0 27.5 From: harvey.horse@example.com 27.6 To: resource-room-confroom@example.com 27.7 +Bcc: people-outgoing+harvey.horse@example.com 27.8 Subject: Invitation! 27.9 27.10 --===============0047278175==
28.1 --- a/tests/templates/event-request-imposter.txt Tue Oct 13 17:10:40 2015 +0200 28.2 +++ b/tests/templates/event-request-imposter.txt Tue Oct 13 18:34:26 2015 +0200 28.3 @@ -2,6 +2,7 @@ 28.4 MIME-Version: 1.0 28.5 From: vincent.vole@example.com 28.6 To: resource-room-confroom@example.com 28.7 +Bcc: people-outgoing+vincent.vole@example.com 28.8 Subject: Invitation! 28.9 28.10 --===============0047278175==
29.1 --- a/tests/templates/event-request-multiple.txt Tue Oct 13 17:10:40 2015 +0200 29.2 +++ b/tests/templates/event-request-multiple.txt Tue Oct 13 18:34:26 2015 +0200 29.3 @@ -2,6 +2,7 @@ 29.4 MIME-Version: 1.0 29.5 From: paul.boddie@example.com 29.6 To: resource-room-confroom@example.com, resource-car-porsche911@example.com 29.7 +Bcc: people-outgoing+paul.boddie@example.com 29.8 Subject: Invitation! 29.9 29.10 --===============0047278175==
30.1 --- a/tests/templates/event-request-person-conflict.txt Tue Oct 13 17:10:40 2015 +0200 30.2 +++ b/tests/templates/event-request-person-conflict.txt Tue Oct 13 18:34:26 2015 +0200 30.3 @@ -2,6 +2,7 @@ 30.4 MIME-Version: 1.0 30.5 From: paul.boddie@example.com 30.6 To: vincent.vole@example.com 30.7 +Bcc: people-outgoing+paul.boddie@example.com 30.8 Subject: Invitation! 30.9 30.10 --===============0047278175==
31.1 --- a/tests/templates/event-request-person-recurring-day-floating.txt Tue Oct 13 17:10:40 2015 +0200 31.2 +++ b/tests/templates/event-request-person-recurring-day-floating.txt Tue Oct 13 18:34:26 2015 +0200 31.3 @@ -2,6 +2,7 @@ 31.4 MIME-Version: 1.0 31.5 From: paul.boddie@example.com 31.6 To: vincent.vole@example.com 31.7 +Bcc: people-outgoing+paul.boddie@example.com 31.8 Subject: Invitation! 31.9 31.10 --===============0047278175==
32.1 --- a/tests/templates/event-request-person-recurring-reschedule-instance.txt Tue Oct 13 17:10:40 2015 +0200 32.2 +++ b/tests/templates/event-request-person-recurring-reschedule-instance.txt Tue Oct 13 18:34:26 2015 +0200 32.3 @@ -2,6 +2,7 @@ 32.4 MIME-Version: 1.0 32.5 From: paul.boddie@example.com 32.6 To: vincent.vole@example.com 32.7 +Bcc: people-outgoing+paul.boddie@example.com 32.8 Subject: Invitation! 32.9 32.10 --===============0047278175==
33.1 --- a/tests/templates/event-request-person-recurring.txt Tue Oct 13 17:10:40 2015 +0200 33.2 +++ b/tests/templates/event-request-person-recurring.txt Tue Oct 13 18:34:26 2015 +0200 33.3 @@ -2,6 +2,7 @@ 33.4 MIME-Version: 1.0 33.5 From: paul.boddie@example.com 33.6 To: vincent.vole@example.com 33.7 +Bcc: people-outgoing+paul.boddie@example.com 33.8 Subject: Invitation! 33.9 33.10 --===============0047278175==
34.1 --- a/tests/templates/event-request-person-spoofed.txt Tue Oct 13 17:10:40 2015 +0200 34.2 +++ b/tests/templates/event-request-person-spoofed.txt Tue Oct 13 18:34:26 2015 +0200 34.3 @@ -2,6 +2,7 @@ 34.4 MIME-Version: 1.0 34.5 From: harvey.horse@example.com 34.6 To: vincent.vole@example.com 34.7 +Bcc: people-outgoing+harvey.horse@example.com 34.8 Subject: Spoofed request 34.9 34.10 --===============0047278175==
35.1 --- a/tests/templates/event-request-person.txt Tue Oct 13 17:10:40 2015 +0200 35.2 +++ b/tests/templates/event-request-person.txt Tue Oct 13 18:34:26 2015 +0200 35.3 @@ -2,6 +2,7 @@ 35.4 MIME-Version: 1.0 35.5 From: paul.boddie@example.com 35.6 To: vincent.vole@example.com 35.7 +Bcc: people-outgoing+paul.boddie@example.com 35.8 Subject: Invitation! 35.9 35.10 Test invitation of people, checking their status afterwards.
36.1 --- a/tests/templates/event-request-recurring-day-reschedule-instance.txt Tue Oct 13 17:10:40 2015 +0200 36.2 +++ b/tests/templates/event-request-recurring-day-reschedule-instance.txt Tue Oct 13 18:34:26 2015 +0200 36.3 @@ -2,6 +2,7 @@ 36.4 MIME-Version: 1.0 36.5 From: paul.boddie@example.com 36.6 To: resource-room-confroom@example.com 36.7 +Bcc: people-outgoing+paul.boddie@example.com 36.8 Subject: Rescheduling! 36.9 36.10 --===============0047278175==
37.1 --- a/tests/templates/event-request-recurring-day.txt Tue Oct 13 17:10:40 2015 +0200 37.2 +++ b/tests/templates/event-request-recurring-day.txt Tue Oct 13 18:34:26 2015 +0200 37.3 @@ -2,6 +2,7 @@ 37.4 MIME-Version: 1.0 37.5 From: paul.boddie@example.com 37.6 To: resource-room-confroom@example.com 37.7 +Bcc: people-outgoing+paul.boddie@example.com 37.8 Subject: Invitation! 37.9 37.10 --===============0047278175==
38.1 --- a/tests/templates/event-request-recurring-exdate-floating.txt Tue Oct 13 17:10:40 2015 +0200 38.2 +++ b/tests/templates/event-request-recurring-exdate-floating.txt Tue Oct 13 18:34:26 2015 +0200 38.3 @@ -2,6 +2,7 @@ 38.4 MIME-Version: 1.0 38.5 From: paul.boddie@example.com 38.6 To: resource-room-confroom@example.com 38.7 +Bcc: people-outgoing+paul.boddie@example.com 38.8 Subject: Invitation! 38.9 38.10 --===============0047278175==
39.1 --- a/tests/templates/event-request-recurring-exdate.txt Tue Oct 13 17:10:40 2015 +0200 39.2 +++ b/tests/templates/event-request-recurring-exdate.txt Tue Oct 13 18:34:26 2015 +0200 39.3 @@ -2,6 +2,7 @@ 39.4 MIME-Version: 1.0 39.5 From: paul.boddie@example.com 39.6 To: resource-room-confroom@example.com 39.7 +Bcc: people-outgoing+paul.boddie@example.com 39.8 Subject: Invitation! 39.9 39.10 --===============0047278175==
40.1 --- a/tests/templates/event-request-recurring-indefinitely.txt Tue Oct 13 17:10:40 2015 +0200 40.2 +++ b/tests/templates/event-request-recurring-indefinitely.txt Tue Oct 13 18:34:26 2015 +0200 40.3 @@ -2,6 +2,7 @@ 40.4 MIME-Version: 1.0 40.5 From: paul.boddie@example.com 40.6 To: resource-room-confroom@example.com 40.7 +Bcc: people-outgoing+paul.boddie@example.com 40.8 Subject: Invitation! 40.9 40.10 --===============0047278175==
41.1 --- a/tests/templates/event-request-recurring-reschedule-instance.txt Tue Oct 13 17:10:40 2015 +0200 41.2 +++ b/tests/templates/event-request-recurring-reschedule-instance.txt Tue Oct 13 18:34:26 2015 +0200 41.3 @@ -2,6 +2,7 @@ 41.4 MIME-Version: 1.0 41.5 From: paul.boddie@example.com 41.6 To: resource-room-confroom@example.com 41.7 +Bcc: people-outgoing+paul.boddie@example.com 41.8 Subject: Rescheduling! 41.9 41.10 --===============0047278175==
42.1 --- a/tests/templates/event-request-recurring.txt Tue Oct 13 17:10:40 2015 +0200 42.2 +++ b/tests/templates/event-request-recurring.txt Tue Oct 13 18:34:26 2015 +0200 42.3 @@ -2,6 +2,7 @@ 42.4 MIME-Version: 1.0 42.5 From: paul.boddie@example.com 42.6 To: resource-room-confroom@example.com 42.7 +Bcc: people-outgoing+paul.boddie@example.com 42.8 Subject: Invitation! 42.9 42.10 --===============0047278175==
43.1 --- a/tests/templates/event-request-sauna-bad.txt Tue Oct 13 17:10:40 2015 +0200 43.2 +++ b/tests/templates/event-request-sauna-bad.txt Tue Oct 13 18:34:26 2015 +0200 43.3 @@ -2,6 +2,7 @@ 43.4 MIME-Version: 1.0 43.5 From: paul.boddie@example.com 43.6 To: resource-room-sauna@example.com 43.7 +Bcc: people-outgoing+paul.boddie@example.com 43.8 Subject: Invitation! 43.9 43.10 --===============0047278175==
44.1 --- a/tests/templates/event-request-sauna-good.txt Tue Oct 13 17:10:40 2015 +0200 44.2 +++ b/tests/templates/event-request-sauna-good.txt Tue Oct 13 18:34:26 2015 +0200 44.3 @@ -2,6 +2,7 @@ 44.4 MIME-Version: 1.0 44.5 From: paul.boddie@example.com 44.6 To: resource-room-sauna@example.com 44.7 +Bcc: people-outgoing+paul.boddie@example.com 44.8 Subject: Invitation! 44.9 44.10 --===============0047278175==
45.1 --- a/tests/templates/event-request-sauna-rival.txt Tue Oct 13 17:10:40 2015 +0200 45.2 +++ b/tests/templates/event-request-sauna-rival.txt Tue Oct 13 18:34:26 2015 +0200 45.3 @@ -2,6 +2,7 @@ 45.4 MIME-Version: 1.0 45.5 From: vincent.vole@example.com 45.6 To: resource-room-sauna@example.com 45.7 +Bcc: people-outgoing+vincent.vole@example.com 45.8 Subject: Invitation! 45.9 45.10 --===============0047278175==
46.1 --- a/tests/templates/event-request-spoofed.txt Tue Oct 13 17:10:40 2015 +0200 46.2 +++ b/tests/templates/event-request-spoofed.txt Tue Oct 13 18:34:26 2015 +0200 46.3 @@ -2,6 +2,7 @@ 46.4 MIME-Version: 1.0 46.5 From: vincent.vole@example.com 46.6 To: resource-room-confroom@example.com 46.7 +Bcc: people-outgoing+vincent.vole@example.com 46.8 Subject: Spoofed request 46.9 46.10 --===============0047278175==
47.1 --- a/tests/templates/event-request.txt Tue Oct 13 17:10:40 2015 +0200 47.2 +++ b/tests/templates/event-request.txt Tue Oct 13 18:34:26 2015 +0200 47.3 @@ -2,6 +2,7 @@ 47.4 MIME-Version: 1.0 47.5 From: paul.boddie@example.com 47.6 To: resource-room-confroom@example.com 47.7 +Bcc: people-outgoing+paul.boddie@example.com 47.8 Subject: Invitation! 47.9 47.10 --===============0047278175==
48.1 --- a/tests/test_person_invitation_counter.sh Tue Oct 13 17:10:40 2015 +0200 48.2 +++ b/tests/test_person_invitation_counter.sh Tue Oct 13 18:34:26 2015 +0200 48.3 @@ -164,6 +164,7 @@ 48.4 sed 's/COUNTER/DECLINECOUNTER/' < out2.tmp \ 48.5 | sed 's/^From: calendar/To: vincent.vole/' \ 48.6 | sed 's/^To: paul.boddie/From: paul.boddie/' \ 48.7 +| sed 's/^Bcc: people-outgoing+vincent.vole/Bcc: people-outgoing+paul.boddie/' \ 48.8 > out5.tmp 48.9 48.10 "$OUTGOING_SCRIPT" $ARGS < out5.tmp 2>> $ERROR