From c4eeaad6767ea2b9ed16eaf3349a73fe9b23ee36 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Mon, 11 Sep 2017 20:31:14 +0200 Subject: [PATCH] Disable MX queries when relaying mail to a remote smtp --- postfix/conf/sqlite-transport.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/conf/sqlite-transport.cf b/postfix/conf/sqlite-transport.cf index 2f9de981..6295523b 100644 --- a/postfix/conf/sqlite-transport.cf +++ b/postfix/conf/sqlite-transport.cf @@ -1,3 +1,3 @@ dbpath = /data/main.db query = - SELECT 'smtp:'||smtp FROM relay WHERE name='%s' + SELECT 'smtp:['||smtp||']' FROM relay WHERE name='%s'