aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index 061c9a97..502e989d 100644
--- a/sink.c
+++ b/sink.c
@@ -637,7 +637,7 @@ int open_sink(struct query *ctl, struct msgblk *msg,
"%s@%s", ctl->remotename, ctl->server.truename);
ap = addr;
}
- else if (strchr(msg->return_path, '@'))
+ else if (strchr(msg->return_path,'@') || strchr(msg->return_path,'!'))
ap = msg->return_path;
else /* in case Return-Path existed but was local */
{