aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index dedcda83..15531224 100644
--- a/sink.c
+++ b/sink.c
@@ -975,7 +975,9 @@ int open_warning_by_mail(struct query *ctl, struct msgblk *msg)
* option to ESMTP; the message length would be more trouble than
* it's worth to compute.
*/
- struct msgblk reply = {NULL, NULL, "FETCHMAIL-DAEMON", 0};
+ struct msgblk reply = {NULL, NULL, "FETCHMAIL-DAEMON@", 0};
+
+ strcat(reply.return_path, fetchmailhost);
if (!MULTIDROP(ctl)) /* send to calling user */
{