From 5bcf9ccdbbcdbdf43f01e92254f6eed513d5a9e2 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 13 Feb 2018 19:27:19 +0000
Subject: [PATCH] bdsmail commit and change name of mailtool

---
 src/freedombone-app-bdsmail | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedombone-app-bdsmail b/src/freedombone-app-bdsmail
index 7e407ca38..005794234 100755
--- a/src/freedombone-app-bdsmail
+++ b/src/freedombone-app-bdsmail
@@ -34,7 +34,7 @@ IN_DEFAULT_INSTALL=0
 SHOW_ON_ABOUT=1
 
 BDSMAIL_REPO="https://github.com/majestrate/bdsmail"
-BDSMAIL_COMMIT='48838b84adca7a5a89a54b47599f6375ab9dbb68'
+BDSMAIL_COMMIT='32f50455ddafafef715917a4458b8a97e99ecd73'
 BDSMAIL_DIR=/etc/bdsmail
 I2P_SAM_PORT=7656
 I2P_SMTP_PORT=2525
@@ -97,7 +97,7 @@ function add_user_bdsmail {
     fi
     sed -i "s|username|$new_username|g" /home/$new_username/.mutt/bdsmail
     bdsmail_configure_users
-    $BDSMAIL_DIR/bin/newmail $BDSMAIL_DIR/config.ini $new_username /home/$new_username/Maildir/i2p "$new_user_password"
+    $BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $new_username /home/$new_username/Maildir/i2p "$new_user_password"
     chown -R $new_username:$new_username /home/$new_username/.mutt
     echo '0'
 }
@@ -420,7 +420,7 @@ function install_bdsmail {
 
     bdsmail_configure_users
 
-    $BDSMAIL_DIR/bin/newmail $BDSMAIL_DIR/config.ini $MY_USERNAME /home/$MY_USERNAME/Maildir/i2p "$user_account_password"
+    $BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $MY_USERNAME /home/$MY_USERNAME/Maildir/i2p "$user_account_password"
     user_account_password=
 
     APP_INSTALLED=1
-- 
GitLab