summaryrefslogtreecommitdiff
path: root/src/src/daemon.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-10-12 12:48:44 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-10-12 14:55:49 +0100
commitd85cdeb5e554b59bf4c43c54461409c15c6ee9c5 (patch)
tree2b364b2cd499be85de6a9a90b99c3bc56c4cb808 /src/src/daemon.c
parent4316e9b3b73ac3a042799bf20625dea0d70dde00 (diff)
downloadexim4-d85cdeb5e554b59bf4c43c54461409c15c6ee9c5.tar.gz
Reduce delivery process startup time
Diffstat (limited to 'src/src/daemon.c')
-rw-r--r--src/src/daemon.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index 99fa909d2..3fc73babe 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -1740,6 +1740,20 @@ else
(eg: compile regex) */
dns_pattern_init();
+smtp_deliver_init(); /* Used for callouts */
+
+#ifndef DISABLE_DKIM
+ {
+# ifdef MEASURE_TIMING
+ struct timeval t0;
+ gettimeofday(&t0, NULL);
+# endif
+ dkim_exim_init();
+# ifdef MEASURE_TIMING
+ report_time_since(&t0, US"dkim_exim_init (delta)");
+# endif
+ }
+#endif
#ifdef WITH_CONTENT_SCAN
malware_init();