File autorespond-2.0.4-utf8.patch of Package qmail-autorespond

diff -ur autorespond-2.0.4.orig/autorespond.c autorespond-2.0.4/autorespond.c
--- autorespond-2.0.4.orig/autorespond.c	2003-08-18 10:34:07.000000000 +0200
+++ autorespond-2.0.4/autorespond.c	2020-08-05 18:21:30.239694406 +0200
@@ -260,6 +260,7 @@
 	/*start outputting to qmail-queue
 	  date is in 822 format
 	  message-id could be computed a little better*/
+	fprintf(fdm,"Content-Transfer-Encoding: 8bit\nContent-Type: text/plain; charset=UTF-8\n");
 	fprintf(fdm,"Date: %u %s %u %02u:%02u:%02u -0000\nMessage-ID: <%lu.%u.blah>\n"
 		,dt->tm_mday,montab[dt->tm_mon],dt->tm_year+1900,dt->tm_hour,dt->tm_min,dt->tm_sec,msgwhen,getpid() );
 
openSUSE Build Service is sponsored by