Description: Extends queue lifetime from default 100d max
 Some bonehead decides that mail should only live 100d on queue.
 We say NO to that!
 .
 postfix (3.3.0-1ubuntu0.3.1bit) bionic; urgency=medium
 .
   * Extend max_queue_time to 4096d
Author: BIT Support <support@bit.nl>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-12-11

--- postfix-3.3.0.orig/src/bounce/bounce.c
+++ postfix-3.3.0/src/bounce/bounce.c
@@ -646,7 +646,7 @@ int     main(int argc, char **argv)
 	0,
     };
     static const CONFIG_TIME_TABLE time_table[] = {
-	VAR_MAX_QUEUE_TIME, DEF_MAX_QUEUE_TIME, &var_max_queue_time, 0, 8640000,
+	VAR_MAX_QUEUE_TIME, DEF_MAX_QUEUE_TIME, &var_max_queue_time, 0, 864000000,
 	VAR_DELAY_WARN_TIME, DEF_DELAY_WARN_TIME, &var_delay_warn_time, 0, 0,
 	0,
     };
--- postfix-3.3.0.orig/src/global/mail_params.h
+++ postfix-3.3.0/src/global/mail_params.h
@@ -751,7 +751,7 @@ extern int var_min_backoff_time;
 extern int var_max_backoff_time;
 
 #define VAR_MAX_QUEUE_TIME	"maximal_queue_lifetime"
-#define DEF_MAX_QUEUE_TIME	"5d"
+#define DEF_MAX_QUEUE_TIME	"4096d"
 extern int var_max_queue_time;
 
  /*
@@ -759,7 +759,7 @@ extern int var_max_queue_time;
   * when a non-default maximal_queue_lifetime setting contains no time unit.
   */
 #define VAR_DSN_QUEUE_TIME	"bounce_queue_lifetime"
-#define DEF_DSN_QUEUE_TIME	"5d"
+#define DEF_DSN_QUEUE_TIME	"4096d"
 extern int var_dsn_queue_time;
 
 #define VAR_DELAY_WARN_TIME	"delay_warning_time"
--- postfix-3.3.0.orig/src/qmgr/qmgr.c
+++ postfix-3.3.0/src/qmgr/qmgr.c
@@ -757,8 +757,8 @@ int     main(int argc, char **argv)
 	VAR_QUEUE_RUN_DELAY, DEF_QUEUE_RUN_DELAY, &var_queue_run_delay, 1, 0,
 	VAR_MIN_BACKOFF_TIME, DEF_MIN_BACKOFF_TIME, &var_min_backoff_time, 1, 0,
 	VAR_MAX_BACKOFF_TIME, DEF_MAX_BACKOFF_TIME, &var_max_backoff_time, 1, 0,
-	VAR_MAX_QUEUE_TIME, DEF_MAX_QUEUE_TIME, &var_max_queue_time, 0, 8640000,
-	VAR_DSN_QUEUE_TIME, DEF_DSN_QUEUE_TIME, &var_dsn_queue_time, 0, 8640000,
+	VAR_MAX_QUEUE_TIME, DEF_MAX_QUEUE_TIME, &var_max_queue_time, 0, 864000000,
+	VAR_DSN_QUEUE_TIME, DEF_DSN_QUEUE_TIME, &var_dsn_queue_time, 0, 864000000,
 	VAR_XPORT_RETRY_TIME, DEF_XPORT_RETRY_TIME, &var_transport_retry_time, 1, 0,
 	VAR_QMGR_CLOG_WARN_TIME, DEF_QMGR_CLOG_WARN_TIME, &var_qmgr_clog_warn_time, 0, 0,
 	VAR_XPORT_REFILL_DELAY, DEF_XPORT_REFILL_DELAY, &var_xport_refill_delay, 1, 0,
