ports/mail/dbmail/files/patch-0032-10083-prepend-headers-during-delivery
Muhammad Moinur Rahman 9eff14e488 mail/dbmail: adopt latest fixes from git:
- login_disabled option before starttls for pop3
- fix compiler warnings for GCC5
- Fix IMAP mailbox maintanence
- prevent assertion in p_string_erase
- improve crypt authentication, also don't segfault when spasswd is empty
- simplify log_query_time duration logic
- Disconnect IMAP clients if only few free FDs left
- Add primary key constraint to dbmail_authlog
- Rework temporary connection failures
- Give sensible default for retry 120s
- Add retries for binding and searching
- Bump search timeout to 60s
- Increase ldap timeout to 600s 10 mins
- Refactor deprecated functions
- Get timeout from config
- Remove redundant event_assign
- Remove deprecated non functioning g_mem_profile
- Add definition for authldap_free
- Revert inadvertent event_assign removal
- Reduce failed LDAP connection for search to error
- Update LDAP to non deprecated search
- Clear the ldap connection
- Update ldap deprecated unbind
- Fix typo
- Update to ldap_unbind_ext_s and remove redundant sigaction
- Rebalance commit rollback
- Ensure mailbox2dbmail is using Python 2
- Tidy mailbox2dbmail man page
- Update description of pid file location in server man page
- Boundaries fixups ordering of parts do not add newline on
- Prepend headers during delivery
- Allow for systems that don't use proc

PR:		210274
Submitted by:	fluffy
2017-02-24 21:15:52 +00:00

25 lines
877 B
Text

From d213fd84529b3ff3da8b32aa15ef58f2b335383d Mon Sep 17 00:00:00 2001
From: Paul J Stevens <p.stevens@labdigital.nl>
Date: Sat, 3 Dec 2016 17:33:13 +0100
Subject: [PATCH 32/33] [#10083] prepend headers during delivery
---
src/dm_message.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/dm_message.c src/dm_message.c
index 784c091..82b0656 100644
--- src/dm_message.c
+++ src/dm_message.c
@@ -892,7 +892,7 @@ const char * dbmail_message_get_envelope_recipient(const DbmailMessage *self)
void dbmail_message_set_header(DbmailMessage *self, const char *header, const char *value)
{
- g_mime_object_set_header(GMIME_OBJECT(self->content), header, value);
+ g_mime_object_prepend_header(GMIME_OBJECT(self->content), header, value);
}
const gchar * dbmail_message_get_header(const DbmailMessage *self, const char *header)
--
2.10.1 (Apple Git-78)