Closed chibenwa closed 1 month ago
This PR add a cheating mailet for push ical generated by tmail replies into OpenPaaS (<3)
[x] Documentation of the pipeline
Please team take over the topic: I now really have CIR to write!
Conf to be added to transport processor within mailetcontainer.xml:
transport
mailetcontainer.xml
<!-- ICAL pipeline for EventCaleandar response --> <mailet match="SenderIsLocal" class="StripAttachment"> <mimeType>text/calendar</mimeType> <attribute>rawIcalendar2</attribute> <onMailetException>ignore</onMailetException> </mailet> <mailet match="SenderIsLocal" class="MimeDecodingMailet"> <attribute>rawIcalendar2</attribute> <onMailetException>ignore</onMailetException> </mailet> <mailet match="SenderIsLocal" class="ICalendarParser"> <sourceAttribute>rawIcalendar2</sourceAttribute> <destinationAttribute>icalendar2</destinationAttribute> <onMailetException>ignore</onMailetException> </mailet> <mailet match="SenderIsLocal" class="com.linagora.tmail.mailet.SenderICALToJsonAttribute"> <source>icalendar2</source> <destination>icalendarAsJson2</destination> <rawSource>rawIcalendar2</rawSource> <onMailetException>ignore</onMailetException> </mailet> <mailet match="SenderIsLocal" class="AmqpForwardAttribute"> <uri>amqp://${env:OP_JAMES_AMQP_USERNAME}:${env:OP_JAMES_AMQP_PASSWORD}@${env:OP_JAMES_AMQP_HOST}:${env:OP_JAMES_AMQP_PORT}</uri> <exchange>james:events</exchange> <attribute>icalendarAsJson2</attribute> <onMailetException>ignore</onMailetException> </mailet> <!-- End of ICAL pipeline -->
https://github.com/linagora/tmail-backend/assets/6928740/57951c6f-3954-43a4-8991-96ef4ef76256
(prod run on a custom image to roll this change on top of 0.10.0)
This PR add a cheating mailet for push ical generated by tmail replies into OpenPaaS (<3)
[x] Documentation of the pipeline
Please team take over the topic: I now really have CIR to write!
Conf to be added to
transport
processor withinmailetcontainer.xml
: