bdsmail commit and change name of mailtool

This commit is contained in:
Bob Mottram 2018-02-13 19:27:19 +00:00
parent 4b58ea23a8
commit 5bcf9ccdbb
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=1 SHOW_ON_ABOUT=1
BDSMAIL_REPO="https://github.com/majestrate/bdsmail" BDSMAIL_REPO="https://github.com/majestrate/bdsmail"
BDSMAIL_COMMIT='48838b84adca7a5a89a54b47599f6375ab9dbb68' BDSMAIL_COMMIT='32f50455ddafafef715917a4458b8a97e99ecd73'
BDSMAIL_DIR=/etc/bdsmail BDSMAIL_DIR=/etc/bdsmail
I2P_SAM_PORT=7656 I2P_SAM_PORT=7656
I2P_SMTP_PORT=2525 I2P_SMTP_PORT=2525
@ -97,7 +97,7 @@ function add_user_bdsmail {
fi fi
sed -i "s|username|$new_username|g" /home/$new_username/.mutt/bdsmail sed -i "s|username|$new_username|g" /home/$new_username/.mutt/bdsmail
bdsmail_configure_users 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 chown -R $new_username:$new_username /home/$new_username/.mutt
echo '0' echo '0'
} }
@ -420,7 +420,7 @@ function install_bdsmail {
bdsmail_configure_users 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= user_account_password=
APP_INSTALLED=1 APP_INSTALLED=1