| 264 | } |
| 265 | |
| 266 | type msgpipelineDelivery struct { |
| 267 | d *MsgPipeline |
| 268 | |
| 269 | globalModifiersState module.ModifierState |
| 270 | sourceModifiersState module.ModifierState |
| 271 | rcptModifiersState map[*rcptBlock]module.ModifierState |
| 272 | |
| 273 | log *log.Logger |
| 274 | |
| 275 | sourceAddr string |
| 276 | sourceBlock sourceBlock |
| 277 | |
| 278 | deliveries map[module.DeliveryTarget]*delivery |
| 279 | msgMeta *module.MsgMetadata |
| 280 | checkRunner *checkRunner |
| 281 | } |
| 282 | |
| 283 | func (dd *msgpipelineDelivery) AddRcpt(ctx context.Context, to string, opts smtp.RcptOptions) error { |
| 284 | if err := dd.checkRunner.checkRcpt(ctx, dd.d.globalChecks, to); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected