5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/plain; charset=UTF-8;
20 | name="attachment.txt"
21 | Content-Transfer-Encoding: base64
22 | Content-Disposition: attachment;
23 | filename="attachment.txt"
24 |
25 | VGhpcyBpcyBhIGJlYXV0aWZ1bCBiYW5hbmEuCg==
26 | --------------D24E361990BDBA143D4D8794--
27 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/aliceInviteBob.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | TRANSP:OPAQUE
15 | SEQUENCE:0
16 | SUMMARY:Sprint planning #23
17 | DESCRIPTION: description 123
18 | CLASS:PUBLIC
19 | PRIORITY:5
20 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:alice@do.main.tld
21 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
22 | LOCATION:Hangout
23 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
24 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
25 | CATEGORIES:
26 | UID:ea127690-0440-404b-af98-9823c855a283
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:another@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:bob@domain.tld
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/invalid_STATUS.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | SEQUENCE:0
15 | SUMMARY:Sprint planning #23
16 | DESCRIPTION: description 123
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:ouazana@domain.tld
20 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
21 | LOCATION:Hangout
22 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
23 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
24 | CATEGORIES:
25 | UID:ea127690-0440-404b-af98-9823c855a283
26 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
27 | DS-ACTION;X-OBM-ID=302:MAILTO:baechler@domain.tld
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
29 | X-OBM-ID=723:MAILTO:royet@domain.tld
30 | STATUS:INVALID_VALUE
31 | END:VEVENT
32 | END:VCALENDAR
33 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/invalid_TRANSP.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | SEQUENCE:0
15 | SUMMARY:Sprint planning #23
16 | DESCRIPTION: description 123
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:ouazana@domain.tld
20 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
21 | LOCATION:Hangout
22 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
23 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
24 | CATEGORIES:
25 | UID:ea127690-0440-404b-af98-9823c855a283
26 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
27 | DS-ACTION;X-OBM-ID=302:MAILTO:baechler@domain.tld
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
29 | X-OBM-ID=723:MAILTO:royet@domain.tld
30 | STATUS:CONFIRMED
31 | TRANSP:INVALID_VALUE
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/meeting.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | TRANSP:OPAQUE
15 | SEQUENCE:0
16 | SUMMARY:Sprint planning #23
17 | DESCRIPTION: description 123
18 | CLASS:PUBLIC
19 | PRIORITY:5
20 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:ouazana@domain.tld
21 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
22 | LOCATION:Hangout
23 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
24 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
25 | CATEGORIES:
26 | UID:ea127690-0440-404b-af98-9823c855a283
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:baechler@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:royet@domain.tld
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/meeting2.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:CANCEL
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TRANSP:TRANSPARENT
14 | SEQUENCE:0
15 | SUMMARY:Sprint planning #24
16 | DESCRIPTION: description 456
17 | CLASS:PRIVATE
18 | PRIORITY:5
19 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:ouazana@domain.tld
20 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
21 | X-OPENPAAS-TEST:test1
22 | X-OPENPAAS-TEST:test2
23 | LOCATION:Hangout
24 | CATEGORIES:
25 | UID:ea127690-0440-404b-af98-9823c855a284
26 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
27 | DS-ACTION;X-OBM-ID=302:MAILTO:baechler@domain.tld
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
29 | X-OBM-ID=723:MAILTO:royet@domain.tld
30 | END:VEVENT
31 | END:VCALENDAR
32 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/meeting_minimize.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | BEGIN:VEVENT
16 | UID:037aaad3-17c9-47c8-bd6b-f2cbfe925ef7
17 | TRANSP:OPAQUE
18 | DTSTART;TZID=Asia/Ho_Chi_Minh:20230309T140000
19 | CLASS:CONFIDENTIAL
20 | X-OPENPAAS-VIDEOCONFERENCE:
21 | SUMMARY:MOB: integration tests
22 | ORGANIZER;CN=Benoît TELLIER:mailto:btellier@domain.tld
23 | ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVI
24 | DUAL;CN=Van Tung TRAN:mailto:vttran@domain.tld
25 | DTSTAMP:20230306T074133Z
26 | SEQUENCE:0
27 | END:VEVENT
28 | END:VCALENDAR
29 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/missingMethod.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//pretix//pretix.eu//
4 | BEGIN:VTIMEZONE
5 | TZID:Europe/Paris
6 | BEGIN:STANDARD
7 | DTSTART:20001029T040000
8 | RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
9 | TZNAME:CET
10 | TZOFFSETFROM:+0200
11 | TZOFFSETTO:+0100
12 | END:STANDARD
13 | BEGIN:DAYLIGHT
14 | DTSTART:20000326T030000
15 | RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
16 | TZNAME:CEST
17 | TZOFFSETFROM:+0100
18 | TZOFFSETTO:+0200
19 | END:DAYLIGHT
20 | END:VTIMEZONE
21 | BEGIN:VEVENT
22 | UID:pretix-ow2-ow2con-2024-0@pretix.ow2.org
23 | DTSTART;TZID=Europe/Paris:20240611T090000
24 | DTEND;TZID=Europe/Paris:20240612T163000
25 | DESCRIPTION:Tickets: https://pretix.ow2.org/ow2con-2024/\nOrganizer: OW2
26 | DTSTAMP:20240531T133906Z
27 | LOCATION:44 Avenue de la République\, 92320 Châtillon\, France
28 | SUMMARY:OW2con'24
29 | END:VEVENT
30 | END:VCALENDAR
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/missing_attendee.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | BEGIN:VEVENT
16 | UID:037aaad3-17c9-47c8-bd6b-f2cbfe925ef7
17 | TRANSP:OPAQUE
18 | DTSTART;TZID=Asia/Ho_Chi_Minh:20230309T140000
19 | CLASS:CONFIDENTIAL
20 | X-OPENPAAS-VIDEOCONFERENCE:
21 | SUMMARY:MOB: integration tests
22 | ORGANIZER;CN=Benoît TELLIER:mailto:btellier@domain.tld
23 | DTSTAMP:20230306T074133Z
24 | SEQUENCE:0
25 | END:VEVENT
26 | END:VCALENDAR
27 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/missing_organizer.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | BEGIN:VEVENT
16 | UID:037aaad3-17c9-47c8-bd6b-f2cbfe925ef7
17 | TRANSP:OPAQUE
18 | DTSTART;TZID=Asia/Ho_Chi_Minh:20230309T140000
19 | CLASS:CONFIDENTIAL
20 | X-OPENPAAS-VIDEOCONFERENCE:
21 | SUMMARY:MOB: integration tests
22 | ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVI
23 | DUAL;CN=Van Tung TRAN:mailto:vttran@domain.tld
24 | DTSTAMP:20230306T074133Z
25 | SEQUENCE:0
26 | END:VEVENT
27 | END:VCALENDAR
28 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/missing_vevent.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | END:VCALENDAR
16 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/ics/multipleEvents.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//bobbin v0.1//NONSGML iCal Writer//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:PUBLISH
6 | BEGIN:VEVENT
7 | DTSTART:20100701T080000Z
8 | DTEND:20100701T110000Z
9 | DTSTAMP:20091130T213238Z
10 | UID:1285935469767a7c7c1a9b3f0df8003a@yoursever.com
11 | CREATED:20091130T213238Z
12 | DESCRIPTION:Example event 1
13 | LAST-MODIFIED:20091130T213238Z
14 | SEQUENCE:0
15 | STATUS:CONFIRMED
16 | SUMMARY:Example event 1
17 | TRANSP:OPAQUE
18 | END:VEVENT
19 | BEGIN:VEVENT
20 | DTSTART:20100701T120000Z
21 | DTEND:20100701T130000Z
22 | DTSTAMP:20091130T213238Z
23 | UID:1285935469767a7c7c1a9b3f0df8003b@yoursever.com
24 | CREATED:20091130T213238Z
25 | DESCRIPTION:Example event 2
26 | LAST-MODIFIED:20091130T213238Z
27 | SEQUENCE:0
28 | STATUS:CONFIRMED
29 | SUMMARY:Example event 2
30 | TRANSP:OPAQUE
31 | END:VEVENT
32 | END:VCALENDAR
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker:
--------------------------------------------------------------------------------
1 | mock-maker-inline
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/publicasset/tmail-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/publicasset/tmail-logo.png
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/emailWithAliceInviteBobIcsAttachment.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/aliceInviteBob.ics.mustache}}{{/base64Encode}}
24 |
25 | --------------D24E361990BDBA143D4D8794
26 | Content-Type: application/ics; name=meeting.ics
27 | Content-Disposition: attachment; filename=meeting.ics
28 | Content-Transfer-Encoding: base64
29 |
30 | {{#base64Encode}}{{>ics/aliceInviteBob.ics.mustache}}{{/base64Encode}}
31 | --------------D24E361990BDBA143D4D8794--
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/emailWithIcsMissingAttendee.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/missing_attendee.ics.mustache}}{{/base64Encode}}
24 | --------------D24E361990BDBA143D4D8794
25 | Content-Type: application/ics; name=meeting.ics
26 | Content-Disposition: attachment; filename=meeting.ics
27 | Content-Transfer-Encoding: base64
28 |
29 | {{#base64Encode}}{{>ics/missing_attendee.ics.mustache}}{{/base64Encode}}
30 | --------------D24E361990BDBA143D4D8794--
31 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/emailWithIcsMissingMethod.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/missingMethod.ics.mustache}}{{/base64Encode}}
24 | --------------D24E361990BDBA143D4D8794
25 | Content-Type: application/ics; name=meeting.ics
26 | Content-Disposition: attachment; filename=meeting.ics
27 | Content-Transfer-Encoding: base64
28 |
29 | {{#base64Encode}}{{>ics/missingMethod.ics.mustache}}{{/base64Encode}}
30 | --------------D24E361990BDBA143D4D8794--
31 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/emailWithIcsMissingOrginizer.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/missing_organizer.ics.mustache}}{{/base64Encode}}
24 | --------------D24E361990BDBA143D4D8794
25 | Content-Type: application/ics; name=meeting.ics
26 | Content-Disposition: attachment; filename=meeting.ics
27 | Content-Transfer-Encoding: base64
28 |
29 | {{#base64Encode}}{{>ics/missing_organizer.ics.mustache}}{{/base64Encode}}
30 | --------------D24E361990BDBA143D4D8794--
31 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/emailWithIcsMissingVEVENT.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/missingVEVENT.ics.mustache}}{{/base64Encode}}
24 | --------------D24E361990BDBA143D4D8794
25 | Content-Type: application/ics; name=meeting.ics
26 | Content-Disposition: attachment; filename=meeting.ics
27 | Content-Transfer-Encoding: base64
28 |
29 | {{#base64Encode}}{{>ics/missingVEVENT.ics.mustache}}{{/base64Encode}}
30 | --------------D24E361990BDBA143D4D8794--
31 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/aliceInviteBob.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | TRANSP:OPAQUE
15 | SEQUENCE:0
16 | SUMMARY:Sprint planning #23
17 | DESCRIPTION: description 123
18 | CLASS:PUBLIC
19 | PRIORITY:5
20 | ORGANIZER;X-OBM-ID=128;CN={{sender.name}}:MAILTO:{{sender.email}}
21 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
22 | LOCATION:Hangout
23 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
24 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
25 | CATEGORIES:
26 | UID:{{calendarUid}}
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:another@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:{{receiver.email}}
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/invalid_STATUS.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | SEQUENCE:0
15 | SUMMARY:Sprint planning #23
16 | DESCRIPTION: description 123
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;CN={{sender.name}}:MAILTO:{{sender.email}}
20 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
21 | LOCATION:Hangout
22 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
23 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
24 | CATEGORIES:
25 | UID:ea127690-0440-404b-af98-9823c855a283
26 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
27 | X-OBM-ID=723:MAILTO:{{receiver.email}}
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
29 | X-OBM-ID=723:MAILTO:royet@domain.tld
30 | STATUS:INVALID_VALUE
31 | END:VEVENT
32 | END:VCALENDAR
33 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/invalid_TRANSP.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | SEQUENCE:0
15 | SUMMARY:Sprint planning #23
16 | DESCRIPTION: description 123
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;CN={{sender.name}}:MAILTO:{{sender.email}}
20 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
21 | LOCATION:Hangout
22 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
23 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
24 | CATEGORIES:
25 | UID:ea127690-0440-404b-af98-9823c855a283
26 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
27 | DS-ACTION;X-OBM-ID=302:MAILTO:baechler@domain.tld
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
29 | X-OBM-ID=723:MAILTO:{{receiver.email}}
30 | STATUS:CONFIRMED
31 | TRANSP:INVALID_VALUE
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/missingMethod.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//pretix//pretix.eu//
4 | BEGIN:VTIMEZONE
5 | TZID:Europe/Paris
6 | BEGIN:STANDARD
7 | DTSTART:20001029T040000
8 | RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
9 | TZNAME:CET
10 | TZOFFSETFROM:+0200
11 | TZOFFSETTO:+0100
12 | END:STANDARD
13 | BEGIN:DAYLIGHT
14 | DTSTART:20000326T030000
15 | RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
16 | TZNAME:CEST
17 | TZOFFSETFROM:+0100
18 | TZOFFSETTO:+0200
19 | END:DAYLIGHT
20 | END:VTIMEZONE
21 | BEGIN:VEVENT
22 | UID:pretix-ow2-ow2con-2024-0@pretix.ow2.org
23 | DTSTART;TZID=Europe/Paris:20240611T090000
24 | DTEND;TZID=Europe/Paris:20240612T163000
25 | DESCRIPTION:Tickets: https://pretix.ow2.org/ow2con-2024/\nOrganizer: OW2
26 | DTSTAMP:20240531T133906Z
27 | LOCATION:44 Avenue de la République\, 92320 Châtillon\, France
28 | SUMMARY:OW2con'24
29 | END:VEVENT
30 | END:VCALENDAR
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/missingVEVENT.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | END:VCALENDAR
8 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/missing_attendee.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | BEGIN:VEVENT
16 | UID:037aaad3-17c9-47c8-bd6b-f2cbfe925ef7
17 | TRANSP:OPAQUE
18 | DTSTART;TZID=Asia/Ho_Chi_Minh:20230309T140000
19 | CLASS:CONFIDENTIAL
20 | X-OPENPAAS-VIDEOCONFERENCE:
21 | SUMMARY:MOB: integration tests
22 | ORGANIZER;CN={{sender.name}}:MAILTO:{{sender.email}}
23 | DTSTAMP:20230306T074133Z
24 | SEQUENCE:0
25 | END:VEVENT
26 | END:VCALENDAR
27 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/jmap-integration-tests-common/src/main/resources/template/ics/missing_organizer.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | VERSION:2.0
3 | PRODID:-//Sabre//Sabre VObject 4.1.3//EN
4 | CALSCALE:GREGORIAN
5 | METHOD:REQUEST
6 | BEGIN:VTIMEZONE
7 | TZID:Asia/Ho_Chi_Minh
8 | BEGIN:STANDARD
9 | TZOFFSETFROM:+0700
10 | TZOFFSETTO:+0700
11 | TZNAME:ICT
12 | DTSTART:19700101T000000
13 | END:STANDARD
14 | END:VTIMEZONE
15 | BEGIN:VEVENT
16 | UID:037aaad3-17c9-47c8-bd6b-f2cbfe925ef7
17 | TRANSP:OPAQUE
18 | DTSTART;TZID=Asia/Ho_Chi_Minh:20230309T140000
19 | CLASS:CONFIDENTIAL
20 | X-OPENPAAS-VIDEOCONFERENCE:
21 | SUMMARY:MOB: integration tests
22 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
23 | X-OBM-ID=723:MAILTO:{{receiver.email}}
24 | DTSTAMP:20230306T074133Z
25 | SEQUENCE:0
26 | END:VEVENT
27 | END:VCALENDAR
28 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/domainlist.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 | false
23 | false
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_accepted-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: ACCEPTED: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has accepted this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_accepted-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?ACCEPT=C9?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a accepté cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_declined-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Declined: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has declined this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_declined-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?D=E9clin=E9?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a décliné cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_tentative-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Tentatively Accepted: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has replied Maybe to this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/eml/calendar_reply_tentative-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?Accept=E9_provisoirement?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a répondu Peut-être à cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/mailrepositorystore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | memory
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/memory-jmap-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 | extensions.routes=org.apache.james.webadmin.dropwizard.MetricsRoutes
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/domainlist.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 | false
23 | false
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_accepted-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: ACCEPTED: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has accepted this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_accepted-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?ACCEPT=C9?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a accepté cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_declined-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Declined: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has declined this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_declined-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?D=E9clin=E9?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a décliné cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_tentative-en.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Tentatively Accepted: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has replied Maybe to this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/eml/calendar_reply_tentative-fr.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: =?ISO-8859-1?Q?Accept=E9_provisoirement?=: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} a répondu Peut-être à cette invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/firebase.properties:
--------------------------------------------------------------------------------
1 | privatekey.url=/root/conf/dummy.json
2 |
3 | api.key=key123
4 | app.id=firebase123
5 | messaging.sender.id=sender123
6 | project.id=project123
7 | database.url=http://database.com
8 | storage.bucket=bucket123
9 | auth.domain=domain123
10 | vapid.public.key=vapidkey123
11 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/imapserver.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/jmap.properties:
--------------------------------------------------------------------------------
1 | enabled=true
2 | emailRecoveryAction.maxEmailRecoveryPerRequest=6
3 | calendarEvent.reply.mailTemplateLocation=classpath://eml/
4 | calendarEvent.reply.supportedLanguages=en,fr
5 |
6 | oidc.introspect.url=http://keycloak:8080/auth/realms/oidc/protocol/openid-connect/introspect
7 | oidc.introspect.credentials=Bearer ewjiwelhwew
8 | oidc.audience=tmail,james
9 | oidc.userInfo.url=http://keycloak:8080/auth/realms/oidc/protocol/openid-connect/token/userinfo
10 | oidc.claim=email
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/listeners.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.apache.james.jmap.event.PopulateEmailQueryViewListener
4 | true
5 |
6 |
7 | org.apache.james.mailbox.quota.mailing.listeners.QuotaThresholdCrossingListener
8 | QuotaThresholdCrossingListener
9 |
10 |
11 |
12 | 0.9
13 |
14 |
15 | first
16 |
17 |
18 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/pop3server.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/rabbitmq.properties:
--------------------------------------------------------------------------------
1 | uri=amqp://james:james@rabbitmq_host:5672
2 | management.uri=http://james:james@rabbitmq_host:15672/api/
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/jmap/postgres-jmap-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/distributed-rate-limiter-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/rate-limiter/distributed-rate-limiter-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/distributed-rate-limiter-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 | extensions.routes=org.apache.james.webadmin.dropwizard.MetricsRoutes
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/listeners.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.apache.james.jmap.event.PopulateEmailQueryViewListener
4 | true
5 |
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/pop3server.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/rabbitmq.properties:
--------------------------------------------------------------------------------
1 | uri=amqp://james:james@rabbitmq_host:5672
2 | management.uri=http://james:james@rabbitmq_host:15672/api/
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rate-limiter/postgres-rate-limiter-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/distributed-rspamd-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/rspamd/distributed-rspamd-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/distributed-rspamd-integration-tests/src/test/resources/rspamd-config/actions.conf:
--------------------------------------------------------------------------------
1 | reject = 10; # Reject when reaching this score
2 | add_header = 6; # Add header when reaching this score
3 | greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`)
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/distributed-rspamd-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 | extensions.routes=org.apache.james.webadmin.dropwizard.MetricsRoutes
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/jmap.properties:
--------------------------------------------------------------------------------
1 | enabled=true
2 | emailRecoveryAction.maxEmailRecoveryPerRequest=6
3 | calendarEvent.reply.mailTemplateLocation=classpath://eml/
4 | calendarEvent.reply.supportedLanguages=en,fr
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/listeners.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.apache.james.jmap.event.PopulateEmailQueryViewListener
4 | true
5 |
6 |
7 | org.apache.james.rspamd.RspamdListener
8 | true
9 |
10 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/pop3server.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/rabbitmq.properties:
--------------------------------------------------------------------------------
1 | uri=amqp://james:james@rabbitmq_host:5672
2 | management.uri=http://james:james@rabbitmq_host:15672/api/
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/rspamd-config/actions.conf:
--------------------------------------------------------------------------------
1 | reject = 10; # Reject when reaching this score
2 | add_header = 6; # Add header when reaching this score
3 | greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`)
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/rspamd/postgres-rspamd-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/distributed-smtp-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/smtp/distributed-smtp-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/memory-smtp-integration-tests/src/test/resources/domainlist.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 | false
23 | false
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/memory-smtp-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/smtp/memory-smtp-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/memory-smtp-integration-tests/src/test/resources/mailrepositorystore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 | memory
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/listeners.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.apache.james.jmap.event.PopulateEmailQueryViewListener
4 | true
5 |
6 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/pop3server.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/rabbitmq.properties:
--------------------------------------------------------------------------------
1 | uri=amqp://james:james@rabbitmq_host:5672
2 | management.uri=http://james:james@rabbitmq_host:15672/api/
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/smtp/postgres-smtp-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/distributed-webadmin-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/webadmin/distributed-webadmin-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/distributed-webadmin-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 | extensions.routes=org.apache.james.webadmin.dropwizard.MetricsRoutes
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/imapserver.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/jmap.properties:
--------------------------------------------------------------------------------
1 | # Configuration urlPrefix for JMAP routes.
2 | url.prefix=http://domain.com
3 | websocket.url.prefix=ws://domain.com
4 | upload.max.size=20M
5 | webpush.maxTimeoutSeconds=10
6 | webpush.maxConnections=10
7 | dynamic.jmap.prefix.resolution.enabled=true
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/pop3server.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/rabbitmq.properties:
--------------------------------------------------------------------------------
1 | uri=amqp://james:james@rabbitmq_host:5672
2 | management.uri=http://james:james@rabbitmq_host:15672/api/
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/rspamd.properties:
--------------------------------------------------------------------------------
1 | rspamdUrl=http://rspamd:11334
2 | rspamdPassword=admin
3 | # Whether to scan/learn mails using per-user Bayes. Default to false.
4 | perUserBayes=false
--------------------------------------------------------------------------------
/tmail-backend/integration-tests/webadmin/postgres-webadmin-integration-tests/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 |
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/main/scala/com/linagora/tmail/james/jmap/model/CalendarEventParseResponse.scala:
--------------------------------------------------------------------------------
1 | package com.linagora.tmail.james.jmap.model
2 |
3 | import org.apache.james.jmap.core.AccountId
4 | import org.apache.james.jmap.mail.BlobId
5 |
6 | case class CalendarEventParseResponse(accountId: AccountId,
7 | parsed: Option[Map[BlobId, CalendarEventParsedList]],
8 | notFound: Option[CalendarEventNotFound],
9 | notParsable: Option[CalendarEventNotParsable])
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/eml/calendar_reply/multipart_html.eml:
--------------------------------------------------------------------------------
1 | From: sender@example.com
2 | To: recipient@example.com
3 | Subject: Example Email
4 | MIME-Version: 1.0
5 | Content-Type: multipart/mixed; boundary="boundary-example"
6 |
7 | --boundary-example
8 | Content-Type: text/html; charset=utf-8
9 |
10 |
11 |
12 |
13 |
14 | Example Email
15 |
16 |
17 | Hello, {{ORGANIZER}}!
18 | This is an example HTML email.
19 | For more information, visit example.com.
20 |
21 |
22 |
23 | --boundary-example
24 | Content-Type: application/pdf
25 | Content-Disposition: attachment; filename="example.pdf"
26 |
27 | ...binary data of PDF file...
28 |
29 | --boundary-example
30 | Content-Type: image/jpeg
31 | Content-Disposition: attachment; filename="example.jpg"
32 |
33 | ...binary data of JPEG image...
34 |
35 | --boundary-example--
36 |
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/eml/calendar_reply/mustache_show.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Mustache show map data
4 |
5 | ATTENDEE: {{ATTENDEE}}
6 | ATTENDEE_CN: {{ATTENDEE_CN}}
7 | PART_STAT: {{PART_STAT}}
8 | ORGANIZER: {{ORGANIZER}}
9 | ORGANIZER_CN: {{ORGANIZER_CN}}
10 | EVENT_TITLE: {{EVENT_TITLE}}
11 | EVENT_START_DATE: {{EVENT_START_DATE}}
12 | EVENT_END_DATE: {{EVENT_END_DATE}}
13 | EVENT_LOCATION: {{EVENT_LOCATION}}
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/eml/calendar_reply/single.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | Content-Type: text/plain; charset=UTF-8
3 | Subject: Accepted: {{EVENT_TITLE}} @ {{EVENT_START_DATE}} ({{ATTENDEE}})
4 |
5 | {{ATTENDEE}} has accepted this invitation.
6 |
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/eml/calendar_reply/singlepart_html.eml:
--------------------------------------------------------------------------------
1 | From: sender@example.com
2 | To: recipient@example.com
3 | Subject: Example HTML Email
4 | MIME-Version: 1.0
5 | Content-Type: text/html; charset=utf-8
6 |
7 |
8 |
9 |
10 |
11 | Example HTML Email
12 |
13 |
14 | Hello, {{ORGANIZER}}!
15 | This is an example HTML email.
16 | For more information, visit example.com.
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/invalid-firebase-private-key.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "service_account",
3 | "project_id": "testing"
4 | }
5 |
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker:
--------------------------------------------------------------------------------
1 | mock-maker-inline
--------------------------------------------------------------------------------
/tmail-backend/jmap/extensions/src/test/resources/valid-firebase-private-key.json:
--------------------------------------------------------------------------------
1 | {
2 | "change_this_valid_key": "change_this_valid_key"
3 | }
4 |
--------------------------------------------------------------------------------
/tmail-backend/mailbox/encrypted/memory/src/test/resources/emailEncrypted.eml:
--------------------------------------------------------------------------------
1 | To: James User
2 | From: James Sender
3 | Subject: Message with text attachment
4 | Message-ID:
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Subject: small message
8 | Content-Type: multipart/encrypted; protocol="application/pgp-encrypted";
9 | boundary="-=Part.0.971d815071d48597.17c96cf5798.3a88f426abbc98b8=-"
10 |
11 | ---=Part.0.971d815071d48597.17c96cf5798.3a88f426abbc98b8=-
12 | Content-Type: application/pgp-encrypted
13 |
14 | Version: 1
15 | ---=Part.0.971d815071d48597.17c96cf5798.3a88f426abbc98b8=-
16 | Content-Type: application/octet-stream
17 |
18 | content email 123
19 |
20 | ---=Part.0.971d815071d48597.17c96cf5798.3a88f426abbc98b8=---
21 |
22 |
--------------------------------------------------------------------------------
/tmail-backend/mailbox/encrypted/memory/src/test/resources/emailWithTextAttachment.eml:
--------------------------------------------------------------------------------
1 | To: James User
2 | From: James Sender
3 | Subject: Message with text attachment
4 | Message-ID:
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/plain; charset=UTF-8;
20 | name="attachment.txt"
21 | Content-Transfer-Encoding: base64
22 | Content-Disposition: attachment;
23 | filename="attachment.txt"
24 |
25 | VGhpcyBpcyBhIGJlYXV0aWZ1bCBiYW5hbmEuCg==
26 | --------------D24E361990BDBA143D4D8794--
27 |
--------------------------------------------------------------------------------
/tmail-backend/mailbox/encrypted/pgp-utils/src/test/resources/README.md:
--------------------------------------------------------------------------------
1 | # GPG key pairs for testing purposes
2 |
3 | Keys information:
4 |
5 | ```
6 | pub rsa3072 2021-04-01 [SC]
7 | 3BA423385C8C80D453D7E6F95BF4E866E9CC6FA2
8 | uid [ultimate] TMail test key 1
9 | sub rsa3072 2021-04-01 [E]
10 |
11 | pub rsa3072 2021-04-01 [SC]
12 | 12522CF961A95474431BADD676E1BC47187D6CEF
13 | uid [ultimate] TMail test key 2
14 | sub rsa3072 2021-04-01 [E]
15 | ```
16 |
17 | Associated password: `123456`
18 |
19 | ## GPG memo
20 |
21 | Generating the keys:
22 |
23 | ```
24 | gpg --full-gen-key
25 | ```
26 |
27 | Exporting the keys:
28 |
29 | ```
30 | gpg --armor --export key1@linagora.com > tmail-backend/mailbox/encrypted/src/test/resources/gpg1.pub
31 | gpg --armor --export-secret-keys key1@linagora.com > tmail-backend/mailbox/encrypted/src/test/resources/gpg.private
32 | ```
33 |
34 | Decrypting stuff:
35 |
36 | ```
37 | gpg --decrypt {file}
38 | ```
--------------------------------------------------------------------------------
/tmail-backend/mailbox/plugin/welcome-listener/src/test/resources/file.eml:
--------------------------------------------------------------------------------
1 | MIME-Version: 1.0
2 | From: Toto
3 | Date: Thu, 4 Jun 2015 06:08:41 +0200
4 | Message-ID:
5 | Content-Type: text/plain; charset=UTF-8
6 | Subject: Welcome!
7 |
8 | Hi all,
9 |
10 | Welcome!
11 |
12 | Thanks!
13 |
--------------------------------------------------------------------------------
/tmail-backend/mailets/src/test/resources/ics/meeting_2.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483439571
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170103T103250Z
9 | LAST-MODIFIED:20170103T103250Z
10 | DTSTAMP:20170103T103250Z
11 | DTSTART:20170120T100000Z
12 | DURATION:PT30M
13 | TRANSP:OPAQUE
14 | SEQUENCE:0
15 | SUMMARY:Sprint Social #3 Demo
16 | DESCRIPTION:
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;X-OBM-ID=468;CN=Attendee 1:MAILTO:attendee1@linagora.
20 | com
21 | X-OBM-DOMAIN:linagora.com
22 | X-OBM-DOMAIN-UUID:02874f7c-d10e-102f-acda-0015176f7922
23 | LOCATION:hangout
24 | CATEGORIES:
25 | X-OBM-COLOR:
26 | UID:f1514f44bf39311568d64072ac247c17656ceafde3b4b3eba961c8c5184cdc6ee047fe
27 | b2aab16e43439a608f28671ab7c10e754c301b1e32001ad51dd20eac2fc7af20abf4093bbe
28 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Attendee 2;PARTSTAT=NEEDS-ACTI
29 | ON;X-OBM-ID=348:MAILTO:attendee2@linagora.com
30 | END:VEVENT
31 | END:VCALENDAR
32 |
--------------------------------------------------------------------------------
/tmail-backend/mailets/src/test/resources/ics/meeting_without_method.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483439571
5 | VERSION:2.0
6 | BEGIN:VEVENT
7 | CREATED:20170103T103250Z
8 | LAST-MODIFIED:20170103T103250Z
9 | DTSTAMP:20170103T103250Z
10 | DTSTART:20170120T100000Z
11 | DURATION:PT30M
12 | TRANSP:OPAQUE
13 | SEQUENCE:0
14 | SUMMARY:Sprint Social #3 Demo
15 | DESCRIPTION:
16 | CLASS:PUBLIC
17 | PRIORITY:5
18 | ORGANIZER;X-OBM-ID=468;CN=Attendee 1:MAILTO:attendee1@linagora.
19 | com
20 | X-OBM-DOMAIN:linagora.com
21 | X-OBM-DOMAIN-UUID:02874f7c-d10e-102f-acda-0015176f7922
22 | LOCATION:hangout
23 | CATEGORIES:
24 | X-OBM-COLOR:
25 | UID:f1514f44bf39311568d64072ac247c17656ceafde3b4b3eba961c8c5184cdc6ee047fe
26 | b2aab16e43439a608f28671ab7c10e754c301b1e32001ad51dd20eac2fc7af20abf4093bbe
27 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Attendee 2;PARTSTAT=NEEDS-ACTI
28 | ON;X-OBM-ID=348:MAILTO:attendee2@linagora.com
29 | END:VEVENT
30 | END:VCALENDAR
31 |
--------------------------------------------------------------------------------
/tmail-backend/mailets/src/test/resources/ics/meeting_without_sequence.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483439571
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170103T103250Z
9 | LAST-MODIFIED:20170103T103250Z
10 | DTSTAMP:20170103T103250Z
11 | DTSTART:20170120T100000Z
12 | DURATION:PT30M
13 | TRANSP:OPAQUE
14 | SUMMARY:Sprint Social #3 Demo
15 | DESCRIPTION:
16 | CLASS:PUBLIC
17 | PRIORITY:5
18 | ORGANIZER;X-OBM-ID=468;CN=Attendee 1:MAILTO:attendee1@linagora.
19 | com
20 | X-OBM-DOMAIN:linagora.com
21 | X-OBM-DOMAIN-UUID:02874f7c-d10e-102f-acda-0015176f7922
22 | LOCATION:hangout
23 | CATEGORIES:
24 | X-OBM-COLOR:
25 | UID:f1514f44bf39311568d64072ac247c17656ceafde3b4b3eba961c8c5184cdc6ee047fe
26 | b2aab16e43439a608f28671ab7c10e754c301b1e32001ad51dd20eac2fc7af20abf4093bbe
27 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Attendee 2;PARTSTAT=NEEDS-ACTI
28 | ON;X-OBM-ID=348:MAILTO:attendee2@linagora.com
29 | END:VEVENT
30 | END:VCALENDAR
31 |
--------------------------------------------------------------------------------
/tmail-backend/mailets/src/test/resources/ics/meeting_without_uid.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483439571
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170103T103250Z
9 | LAST-MODIFIED:20170103T103250Z
10 | DTSTAMP:20170103T103250Z
11 | DTSTART:20170120T100000Z
12 | DURATION:PT30M
13 | TRANSP:OPAQUE
14 | SEQUENCE:0
15 | SUMMARY:Sprint Social #3 Demo
16 | DESCRIPTION:
17 | CLASS:PUBLIC
18 | PRIORITY:5
19 | ORGANIZER;X-OBM-ID=468;CN=Attendee 1:MAILTO:attendee1@linagora.
20 | com
21 | X-OBM-DOMAIN:linagora.com
22 | X-OBM-DOMAIN-UUID:02874f7c-d10e-102f-acda-0015176f7922
23 | LOCATION:hangout
24 | CATEGORIES:
25 | X-OBM-COLOR:
26 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Attendee 2;PARTSTAT=NEEDS-ACTI
27 | ON;X-OBM-ID=348:MAILTO:attendee2@linagora.com
28 | END:VEVENT
29 | END:VCALENDAR
30 |
--------------------------------------------------------------------------------
/tmail-backend/mailets/src/test/resources/ics/no_event.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | END:VCALENDAR
8 |
--------------------------------------------------------------------------------
/tmail-backend/plugins/mail-reporting/sample_conf/jwt_publickey:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxFdwYS0gR7gKRxjZariH
3 | M83LwznNB6KnMwE7DOwnkadklInIqMZSLS9qurShk7CtcwnDPrisNcncXQBg8aQQ
4 | +pKiHpf0Lrv3UXfB+j/3+B69DjsRgoHO/BWL42OoHGz7Wjpg/bv0TEaj+vebPw64
5 | j8Tw2MwOfMkR+zZYcycprYaGRLcCC/0rmentobqpyXQtdcBCYJMMJCjt8dNWPOFd
6 | sthHUQr2+Y/RDpAguQuExqY70n3w/+JnI/mdlTU8UFdCna5TcYQcMBRGy00NgeYS
7 | JB9iDQz+rm5MSXl5md4l8sPojSrQVHn/WWryJOJWSymDY2Vl9ngYNnKJE6e+faEa
8 | BwIDAQAB
9 | -----END PUBLIC KEY-----
--------------------------------------------------------------------------------
/tmail-backend/plugins/mail-reporting/src/test/resources/domainlist.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 | false
23 | false
24 |
25 |
--------------------------------------------------------------------------------
/tmail-backend/plugins/mail-reporting/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/plugins/mail-reporting/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/plugins/mail-reporting/src/test/resources/mailrepositorystore.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
22 |
23 |
24 |
25 |
26 | cassandra
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/tmail-backend/plugins/mail-reporting/src/test/resources/webadmin.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing,
12 | # software distributed under the License is distributed on an
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | # KIND, either express or implied. See the License for the
15 | # specific language governing permissions and limitations
16 | # under the License.
17 |
18 | # This template file can be used as example for James Server configuration
19 | # DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
20 |
21 | # Read https://james.apache.org/server/config-webadmin.html for further details
22 |
23 | enabled=true
24 | port=0
25 | host=127.0.0.1
26 |
27 | extensions.routes=com.linagora.tmail.route.MailReportsRoute
28 |
29 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/AIBotMailet.adoc:
--------------------------------------------------------------------------------
1 | = AIBotMailet
2 |
3 | `AIBotMailet` is a mailet designed to automatically reply to emails sent to a specific recipient (e.g., gpt@linagora.com). It uses the OpenAI API by default but can be configured to use any LLM API supported by https://github.com/langchain4j/[langchain4j].
4 |
5 | == Configuration Example
6 |
7 | [source,xml]
8 | ----
9 |
10 | {put you api key here}
11 | gpt@tmail.com
12 | linagoras-chitchat
13 | https://ai.linagora.com/api
14 |
15 | ----
16 |
17 | === Parameters
18 |
19 | The mailet configuration requires the following parameters:
20 |
21 | * `apiKey`: The API key for accessing the LLM API service.
22 | * `botAddress`: The email address used to send replies generated by the LLM model.
23 | * `baseURL`: The URL of an LLM API compatible with OpenAI .e.g. https://ai.linagora.com/api. Optional. Defaults to the official OpenAI API base url.
24 | * `model`: The OpenAI LLM model to be used. Optional. Defaults to `gpt-3.5-turbo` by langchain4j. You can use the `gpt-4o-mini` model and `demo` API key for testing purpose.
25 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/RecipientsContain.adoc:
--------------------------------------------------------------------------------
1 | === RecipientsContain
2 |
3 | `RecipientsContain` is a matcher that checks if the recipients of an email include all the addresses specified in the match condition.
4 |
5 | This matcher will return all recipients of the email if all specified addresses are present among the recipients. Otherwise, it returns an empty list.
6 |
7 | == Configuration Example
8 |
9 | [source,xml]
10 | ----
11 |
12 |
13 | ----
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/sample_conf/ai.properties:
--------------------------------------------------------------------------------
1 | apiKey=demo
2 | botAddress=gpt@localhost
3 | model=lucie-7b-instruct-v1.1
4 | baseURL=https://chat.lucie.exemple.com
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/sample_conf/jwt_publickey:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxFdwYS0gR7gKRxjZariH
3 | M83LwznNB6KnMwE7DOwnkadklInIqMZSLS9qurShk7CtcwnDPrisNcncXQBg8aQQ
4 | +pKiHpf0Lrv3UXfB+j/3+B69DjsRgoHO/BWL42OoHGz7Wjpg/bv0TEaj+vebPw64
5 | j8Tw2MwOfMkR+zZYcycprYaGRLcCC/0rmentobqpyXQtdcBCYJMMJCjt8dNWPOFd
6 | sthHUQr2+Y/RDpAguQuExqY70n3w/+JnI/mdlTU8UFdCna5TcYQcMBRGy00NgeYS
7 | JB9iDQz+rm5MSXl5md4l8sPojSrQVHn/WWryJOJWSymDY2Vl9ngYNnKJE6e+faEa
8 | BwIDAQAB
9 | -----END PUBLIC KEY-----
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/src/test/resources/ai.properties:
--------------------------------------------------------------------------------
1 | apiKey=demo
2 | botAddress=gpt@localhost
3 | model=lucie-7b-instruct-v1.1
4 | baseURL=https://chat.lucie.exemple.com
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/ai-bot/src/test/resources/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linagora/tmail-backend/15c5f79c3fd2028ceb32a194ba2b03a183f33107/tmail-backend/tmail-third-party/ai-bot/src/test/resources/keystore
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/sample_conf/jwt_publickey:
--------------------------------------------------------------------------------
1 | -----BEGIN PUBLIC KEY-----
2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxFdwYS0gR7gKRxjZariH
3 | M83LwznNB6KnMwE7DOwnkadklInIqMZSLS9qurShk7CtcwnDPrisNcncXQBg8aQQ
4 | +pKiHpf0Lrv3UXfB+j/3+B69DjsRgoHO/BWL42OoHGz7Wjpg/bv0TEaj+vebPw64
5 | j8Tw2MwOfMkR+zZYcycprYaGRLcCC/0rmentobqpyXQtdcBCYJMMJCjt8dNWPOFd
6 | sthHUQr2+Y/RDpAguQuExqY70n3w/+JnI/mdlTU8UFdCna5TcYQcMBRGy00NgeYS
7 | JB9iDQz+rm5MSXl5md4l8sPojSrQVHn/WWryJOJWSymDY2Vl9ngYNnKJE6e+faEa
8 | BwIDAQAB
9 | -----END PUBLIC KEY-----
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/script_create_sample_data_for_docker_compose.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | SERVER_URL="http://tmail-backend.local:8000"
4 | PASSWORD="secret"
5 |
6 | # Loop through users from user1 to user9
7 | for i in $(seq 1 9); do
8 | USER="user$i@open-paas.org"
9 | curl -X PUT "$SERVER_URL/users/$USER" \
10 | -H "Content-Type: application/json" \
11 | -d "{\"password\":\"$PASSWORD\"}"
12 | done
13 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/CALENDARS_CONTAINING_ONLY_INBOX_OUTBOX.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | /calendars/ALICE_ID/inbox/
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | HTTP/1.1 200 OK
12 |
13 |
14 |
15 | /calendars/ALICE_ID/outbox/
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | HTTP/1.1 200 OK
24 |
25 |
26 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/EMPTY_MULTISTATUS_RESPONSE.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/aliceInviteBob.ics:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:REQUEST
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:20170106T115036Z
10 | DTSTAMP:20170106T115036Z
11 | DTSTART:20170111T090000Z
12 | DURATION:PT1H30M
13 | TZID:Asia/Ho_Chi_Minh
14 | TRANSP:OPAQUE
15 | SEQUENCE:0
16 | SUMMARY:Sprint planning #23
17 | DESCRIPTION: description 123
18 | CLASS:PUBLIC
19 | PRIORITY:5
20 | ORGANIZER;X-OBM-ID=128;CN=Raphael OUAZANA:MAILTO:alice@james.org
21 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
22 | LOCATION:Hangout
23 | RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1,2;UNTIL=20240111T090000Z
24 | EXRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=1;UNTIL=20230111T090000Z
25 | CATEGORIES:
26 | UID:ea127690-0440-404b-af98-9823c855a283
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:another@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=Laura ROYET;PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:bob@james.org
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/template/emailWithAliceInviteBob.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/aliceInviteBob.ics.mustache}}{{/base64Encode}}
24 |
25 | --------------D24E361990BDBA143D4D8794
26 | Content-Type: application/ics; name=meeting.ics
27 | Content-Disposition: attachment; filename=meeting.ics
28 | Content-Transfer-Encoding: base64
29 |
30 | {{#base64Encode}}{{>ics/aliceInviteBob.ics.mustache}}{{/base64Encode}}
31 | --------------D24E361990BDBA143D4D8794--
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/template/emailWithRecurrenceId.eml.mustache:
--------------------------------------------------------------------------------
1 | To: {{receiver.name}} <{{receiver.email}}>
2 | From: {{sender.name}} <{{sender.email}}>
3 | Subject: Event Invitation from {{sender.name}}
4 | Message-ID: {{mimeMessageId}}
5 | Date: Tue, 5 Sep 2017 09:54:16 +0200
6 | MIME-Version: 1.0
7 | Content-Type: multipart/mixed;
8 | boundary="------------D24E361990BDBA143D4D8794"
9 | Content-Language: en-US
10 |
11 | This is a multi-part message in MIME format.
12 | --------------D24E361990BDBA143D4D8794
13 | Content-Type: text/plain; charset=utf-8; format=flowed
14 | Content-Transfer-Encoding: 7bit
15 |
16 | The message has a text attachment.
17 |
18 | --------------D24E361990BDBA143D4D8794
19 | Content-Type: text/calendar; charset=UTF-8; method=REQUEST
20 | Content-Disposition: attachment;
21 | Content-Transfer-Encoding: base64
22 |
23 | {{#base64Encode}}{{>ics/recurrenceId.ics.mustache}}{{/base64Encode}}
24 |
25 | --------------D24E361990BDBA143D4D8794
26 | Content-Type: application/ics; name=meeting.ics
27 | Content-Disposition: attachment; filename=meeting.ics
28 | Content-Transfer-Encoding: base64
29 |
30 | {{#base64Encode}}{{>ics/recurrenceId.ics.mustache}}{{/base64Encode}}
31 | --------------D24E361990BDBA143D4D8794--
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/template/ics/aliceInviteBob.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:{{method}}
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:{{lastModified}}
10 | DTSTAMP:{{dtStamp}}
11 | DTSTART:20170111T090000Z
12 | DTEND:20170111T100000Z
13 | DURATION:PT1H30M
14 | TZID:Asia/Ho_Chi_Minh
15 | TRANSP:OPAQUE
16 | SEQUENCE:{{sequence}}
17 | SUMMARY:Sprint planning #23
18 | DESCRIPTION: description 123
19 | CLASS:PUBLIC
20 | PRIORITY:5
21 | ORGANIZER;X-OBM-ID=128;CN={{sender.name}}:MAILTO:{{sender.email}}
22 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
23 | LOCATION:{{location}}
24 | RRULE:FREQ=DAILY;COUNT=3
25 | CATEGORIES:
26 | UID:{{calendarUid}}
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:another@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:{{receiver.email}}
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/tmail-third-party/openpaas/src/test/resources/template/ics/recurrenceId.ics.mustache:
--------------------------------------------------------------------------------
1 | BEGIN:VCALENDAR
2 | PRODID:-//Aliasource Groupe LINAGORA//OBM Calendar 3.2.1-rc2//FR
3 | CALSCALE:GREGORIAN
4 | X-OBM-TIME:1483703436
5 | VERSION:2.0
6 | METHOD:{{method}}
7 | BEGIN:VEVENT
8 | CREATED:20170106T115035Z
9 | LAST-MODIFIED:{{lastModified}}
10 | DTSTAMP:{{dtStamp}}
11 | DTSTART:{{dtStart}}
12 | DTEND:{{dtEnd}}
13 | DURATION:PT1H30M
14 | TZID:Asia/Ho_Chi_Minh
15 | TRANSP:OPAQUE
16 | SEQUENCE:{{sequence}}
17 | SUMMARY:Sprint planning #23
18 | DESCRIPTION: description 123
19 | CLASS:PUBLIC
20 | PRIORITY:5
21 | ORGANIZER;X-OBM-ID=128;CN={{sender.name}}:MAILTO:{{sender.email}}
22 | X-OPENPAAS-VIDEOCONFERENCE:https://jitsi.linagora.com/abcd
23 | LOCATION:{{location}}
24 | RECURRENCE-ID:{{recurrenceId}}
25 | CATEGORIES:
26 | UID:{{calendarUid}}
27 | ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=ADMIN;RSVP=TRUE;CN=Matthieu EXT_BAECHLER;PARTSTAT=NEE
28 | DS-ACTION;X-OBM-ID=302:MAILTO:another@domain.tld
29 | ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN={{receiver.name}};PARTSTAT=NEEDS-ACTION;
30 | X-OBM-ID=723:MAILTO:{{receiver.email}}
31 | STATUS:CONFIRMED
32 | END:VEVENT
33 | END:VCALENDAR
34 |
--------------------------------------------------------------------------------
/tmail-backend/webadmin/webadmin-mailbox/src/test/resources/json/inboxArchivalTask.additionalInformation.json:
--------------------------------------------------------------------------------
1 | {
2 | "archivedMessageCount": 4,
3 | "errorMessageCount": 2,
4 | "successfulUsersCount": 1,
5 | "failedUsersCount": 1,
6 | "failedUsers": ["bob@domain.tld"],
7 | "timestamp": "2007-12-03T10:15:30Z",
8 | "type": "InboxArchivalTask"
9 | }
--------------------------------------------------------------------------------
/tmail-backend/webadmin/webadmin-team-mailboxes/src/test/resources/json/recompute_quota_team_mailboxes.additionalInformation.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "recompute-quota-team-mailboxes",
3 | "timestamp": "2007-12-03T10:15:30Z",
4 | "domain": "linagora.com",
5 | "processedQuotaRoots": 1,
6 | "failedQuotaRoots": [
7 | "#TeamMailbox&marketing@abc.com@abc.com",
8 | "#TeamMailbox&sale@xyz.com@xyz.com"
9 | ]
10 | }
--------------------------------------------------------------------------------
/tmail-backend/webadmin/webadmin-team-mailboxes/src/test/resources/json/recompute_quota_team_mailboxes.task.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "recompute-quota-team-mailboxes",
3 | "domain": "linagora.com"
4 | }
--------------------------------------------------------------------------------