From e0ee0387631d5b4d51693fe69a8cd36d36274fad Mon Sep 17 00:00:00 2001 From: kgskgs Date: Fri, 6 Nov 2020 15:23:49 +0200 Subject: [PATCH] simplify code --- emailwiz.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/emailwiz.sh b/emailwiz.sh index 2374bb3..1a2656b 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -114,12 +114,10 @@ spamassassin unix - n n - - pipe # /etc/dovecot/dovecot.conf because it's easier to manage. You can get a backup # of the original in /usr/share/dovecot if you want. -dovecot_v="$(dovecot --version | cut -d ' ' -f1 | cut -d '.' -f1-2)" -dovecot_v_major=${dovecot_v%.*} -dovecot_v_minor=${dovecot_v#*.} +dovecot_v="$(dovecot --version | cut -d '.' -f1-2)" dovecot_dh="ssl_dh =