diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-23 16:14:58 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-23 16:14:58 +0000 |
commit | 5d2dc02ed479ad06dcc003da9b869213350f31a0 (patch) | |
tree | b248ccfdc5066ac87112ec87edff27a1633ae2f0 /sink.c | |
parent | a15938425baec600096f47506835d8c8196fe4c2 (diff) | |
download | fetchmail-5d2dc02ed479ad06dcc003da9b869213350f31a0.tar.gz fetchmail-5d2dc02ed479ad06dcc003da9b869213350f31a0.tar.bz2 fetchmail-5d2dc02ed479ad06dcc003da9b869213350f31a0.zip |
Add From: header to warning emails. Debian Bug#244828.
svn path=/trunk/; revision=4169
Diffstat (limited to 'sink.c')
-rw-r--r-- | sink.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1502,6 +1502,8 @@ int open_warning_by_mail(struct query *ctl, struct msgblk *msg) else /* send to postmaster */ status = open_sink(ctl, &reply, &good, &bad); if (status == 0) { + stuff_warning(NULL, ctl, "From: FETCHMAIL-DAEMON@%s", + ctl->smtpaddress ? ctl->smtpaddress : fetchmailhost); stuff_warning(NULL, ctl, "Date: %s", rfc822timestamp()); stuff_warning(NULL, ctl, "MIME-Version: 1.0"); stuff_warning(NULL, ctl, "Content-Transfer-Encoding: 8bit"); |