mailtool has to be run from the bdsmail directory
This commit is contained in:
parent
1f50c4f2cb
commit
da55d4d06e
|
@ -97,6 +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
|
||||||
|
cd $BDSMAIL_DIR
|
||||||
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $new_username /home/$new_username/Maildir/i2p
|
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $new_username /home/$new_username/Maildir/i2p
|
||||||
chown -R $new_username:$new_username /home/$new_username/.mutt
|
chown -R $new_username:$new_username /home/$new_username/.mutt
|
||||||
echo '0'
|
echo '0'
|
||||||
|
@ -413,6 +414,7 @@ function install_bdsmail {
|
||||||
|
|
||||||
bdsmail_admin_password="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
bdsmail_admin_password="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
||||||
${PROJECT_NAME}-pass -u $MY_USERNAME -a bdsmail -p "$bdsmail_admin_password"
|
${PROJECT_NAME}-pass -u $MY_USERNAME -a bdsmail -p "$bdsmail_admin_password"
|
||||||
|
cd $BDSMAIL_DIR
|
||||||
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini admin $BDSMAIL_DIR/Maildir/i2p/admin "$bdsmail_admin_password"
|
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini admin $BDSMAIL_DIR/Maildir/i2p/admin "$bdsmail_admin_password"
|
||||||
|
|
||||||
# Create mutt configuration
|
# Create mutt configuration
|
||||||
|
@ -439,6 +441,7 @@ function install_bdsmail {
|
||||||
|
|
||||||
bdsmail_configure_users
|
bdsmail_configure_users
|
||||||
|
|
||||||
|
cd $BDSMAIL_DIR
|
||||||
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $MY_USERNAME /home/$MY_USERNAME/Maildir/i2p
|
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini $MY_USERNAME /home/$MY_USERNAME/Maildir/i2p
|
||||||
|
|
||||||
APP_INSTALLED=1
|
APP_INSTALLED=1
|
||||||
|
|
Loading…
Reference in New Issue