Skip to content

Commit 4e55ee5

Browse files
author
Kristan Kenney
committed
Remove 5s delay in exim4 default configuration
1 parent a84ecb2 commit 4e55ee5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

install/deb/exim/exim4.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tls_on_connect_ports = 465
6464
never_users = root
6565
host_lookup = *
6666
rfc1413_hosts = *
67-
rfc1413_query_timeout = 5s
67+
rfc1413_query_timeout = 0s
6868
ignore_bounce_errors_after = 2d
6969
timeout_frozen_after = 7d
7070

install/upgrade/versions/latest.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
#######################################################################################
66
####### Place additional commands below. #######
77
#######################################################################################
8+
9+
# Remove 5s delay when sending mail through exim4
10+
if [ -e "/etc/exim4/exim4.conf.template" ]; then
11+
echo "(*) Updating exim4 configuration..."
12+
sed -i "s|rfc1413_query_timeout = 5s|rfc1413_query_timeout = 0s|g" /etc/exim4/exim4.conf.template
13+
fi

0 commit comments

Comments
 (0)