bdsmail
bdsmail copied to clipboard
Setting the admin password
When trying to send mail I get a SASL authentication error. It looks like this is because the admin password is wrong. Trying to reset the admin password with:
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini admin $BDSMAIL_DIR/mail/admin "adminpassword"
I get:
INFO[0000] opened localhost.sqlite
INFO[0000] already have user admin
ERRO[0000] error creating user: no such table: user
ERRO[0000] Failed to set maildir: no such table: user
ERRO[0000] error: no such table: user
i think that the config points to a relative path for database and that may cause problems On Thu, Feb 15, 2018 at 07:06:01PM +0000, Bob Mottram wrote:
When trying to send mail I get a SASL authentication error. It looks like this is because the admin password is wrong. Trying to reset the admin password with:
$BDSMAIL_DIR/bin/mailtool $BDSMAIL_DIR/config.ini admin $BDSMAIL_DIR/mail/admin "adminpassword"
I get:
INFO[0000] opened localhost.sqlite INFO[0000] already have user admin ERRO[0000] error creating user: no such table: user ERRO[0000] Failed to set maildir: no such table: user ERRO[0000] error: no such table: user
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/majestrate/bdsmail/issues/15
Ok. Although after resetting the admin password I still get:
SMTP session failed: 450 4.7.1 not authorized to send
what is the username for smtp you are using? On Thu, Feb 15, 2018 at 07:51:03PM +0000, Bob Mottram wrote:
Ok. Although after resetting the admin password I still get:
SMTP session failed: 450 4.7.1 not authorized to send
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/majestrate/bdsmail/issues/15#issuecomment-366041675
admin
what client?
On Thu, Feb 15, 2018 at 12:21:54PM -0800, Bob Mottram wrote:
admin
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/majestrate/bdsmail/issues/15#issuecomment-366049808
Using the username rather than admin, together with the admin password does seem to work.
try adding this to muttrc:
set smtp_authenticators="plain"
On Thu, Feb 15, 2018 at 08:43:09PM +0000, Bob Mottram wrote:
Using the username rather than admin, together with the admin password does seem to work.
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/majestrate/bdsmail/issues/15#issuecomment-366055430