Needs cli commands


is there an overview with all cli commands? I’m looking for a way to add users or aliases via shell command?

many thanks

  tools/ user  (lists users)
  tools/ user add [password]
  tools/ user password [password]
  tools/ user remove
  tools/ user make-admin
  tools/ user remove-admin
  tools/ user admins (lists admins)
  tools/ alias  (lists aliases)
  tools/ alias add
  tools/ alias add ','
  tools/ alias remove

Removing a mail user does not delete their mail folders on disk. It only prevents IMAP/SMTP login.

And don’t forget to check out the API instructions.

1 Like

that’s exactly what I was looking for :slight_smile:

thank you!

Commands in my version works for me like this:

cd mailinabox

sudo python3 management/ user