How can i reset password for a mailbox and delete a mailbox from shell instead of admin panel
Run tools/mail.py
. When run without arguments it will give you instructions.
Hi Josh
when executed command " python mail.py " from mailinabox/tools, got the below
File âmail.pyâ, line 20
print(âThe management daemon refused access. The API key file may be out of sync. Try âservice mailinabox restartâ.â
, file=sys.stderr)
^
SyntaxError: invalid syntax
Donât write python
. Just type tools/mail.py
(run from the main Mail-in-a-Box directory).
thanks, Josh it worked
Josh
how do we remove mail folders from shell, mail.py shows that deletion of mail doesnt mean that it will delete mail folders
To delete a mailbox for bob@example.com from the filesystem, locate the folder named bob in /home/user-data/mail/mailboxes/example.com and delete it. Make sure you delete the user from MIAB first. If you need to archive mailboxes you can delete them from MIAB but leave them on the filesystem. If a mailbox exists for a user youâre creating, it will use the mailbox data, so for example employees who had once departed can have their old inbox restored.
Josh
Can we change display for an user in shell
I donât understand the question.
Hi,
Do you mean the display name of the user? I think you cannot change them within the shell or the admin panel. You can only change them directly in your Mailclient (Outlook, Thunderbird,âŚ) or in the Webmailer (Roundcube)
Hi Josh, can you please respond to the below
Is it possible to take a particular user mailbox backup or archived ??
can we restore the server using duplicity backup instead of encrypted backups?
The box backs up everything.
can we restore the server using duplicity backup instead of encrypted backups?
The only backup is encrypted. There isnât any other backup to restore from.
so You say I cant backup a single mailbox?
The functionality the box offers is to backup everything.
We donât have a way to do that, but we should fix that.