Thank you Vipul for the SQL logs hint, this was very useful.I examined
the logs and they seemed to do the correct thing. Here's the INSERT
statement during the delivery:INSERT INTO NmsBroadLogRcp (iBroadLogId,
iDeliveryId, sAddress, iStatus, iFlags, tsEvent, tsLastModified, iMsgId,
sPersadoCampaignName,sPersadoVariationCode,sPersadoGenopediaId,iRecipientId
) SELECT BL.iMessageId, 1136493815, BL.sAddress, CASE WHEN
BL.iFailureReason = 0 THEN 6 ELSE 0 END, CASE WHEN BL.iFailureReason =
127 THEN 8 ...