Lines Matching defs:my_dsn
233 DSN my_dsn = *dsn;
240 if (my_dsn.status[0] != '5' || !dsn_valid(my_dsn.status)) {
241 msg_warn("bounce_append: ignoring dsn code \"%s\"", my_dsn.status);
242 my_dsn.status = "5.0.0";
249 && (dsn_res = dsn_filter_lookup(delivery_status_filter, &my_dsn)) != 0) {
252 my_dsn = *dsn_res;
254 return (bounce_append_intern(flags, id, stats, rcpt, relay, &my_dsn));
263 DSN my_dsn = *dsn;
271 my_dsn.action = "undeliverable";
272 status = verify_append(id, stats, rcpt, relay, &my_dsn,
282 my_dsn.action = "undeliverable";
283 status = trace_append(flags, id, stats, rcpt, relay, &my_dsn);
304 char *my_status = mystrdup(my_dsn.status);
310 my_dsn.status = my_status;
313 my_dsn.action = "delayed";
315 my_dsn.action = "failed";
325 SEND_ATTR_FUNC(dsn_print, (const void *) &my_dsn),
329 &my_dsn) == 0)) {
330 log_adhoc(id, stats, rcpt, relay, &my_dsn, log_status);
335 my_dsn.status = "4.3.0";
338 my_dsn.reason = vstring_str(junk);
339 status = defer_append_intern(flags, id, stats, rcpt, relay, &my_dsn);
428 DSN my_dsn = *dsn;
434 if (my_dsn.status[0] != '5' || !dsn_valid(my_dsn.status)) {
435 msg_warn("bounce_one: ignoring dsn code \"%s\"", my_dsn.status);
436 my_dsn.status = "5.0.0";
443 && (dsn_res = dsn_filter_lookup(delivery_status_filter, &my_dsn)) != 0) {
446 my_dsn = *dsn_res;
449 dsn_envid, dsn_ret, stats, rcpt, relay, &my_dsn));
461 DSN my_dsn = *dsn;
469 my_dsn.action = "undeliverable";
470 status = verify_append(id, stats, rcpt, relay, &my_dsn,
480 my_dsn.action = "undeliverable";
481 status = trace_append(flags, id, stats, rcpt, relay, &my_dsn);
490 return (bounce_append_intern(flags, id, stats, rcpt, relay, &my_dsn));
504 my_dsn.action = "failed";
518 SEND_ATTR_FUNC(dsn_print, (const void *) &my_dsn),
522 &my_dsn) == 0)) {
523 log_adhoc(id, stats, rcpt, relay, &my_dsn, "bounced");
528 my_dsn.status = "4.3.0";
531 my_dsn.reason = vstring_str(junk);
532 status = defer_append_intern(flags, id, stats, rcpt, relay, &my_dsn);