Administration ๐Ÿ•ต๏ธโ€โ™‚๏ธยถ

Database Access ๐Ÿ“‚ยถ

To access the database, use the following command:

docker-compose exec -it database mysql -u root -D mailu -p

Container Access ๐Ÿ–ฅ๏ธยถ

To access the front container, use this command:

docker-compose exec -it front /bin/bash

Restarting Services ๐Ÿ”„ยถ

To restart all services, use the following command:

docker-compose restart

Resending Queued Mails โœ‰๏ธยถ

To resend queued mails, use this command:

docker-compose exec -it smtp postqueue -f

Updates ๐Ÿ”„ยถ

For instructions on updating your Mailu setup, follow the official Mailu maintenance guide.

Queue Management ๐Ÿ“ฌยถ

To manage the Postfix email queue in Mailu, you can use the following commands:

  • Display the email queue:

    docker compose exec -it smtp postqueue -p
    
  • Delete all emails in the queue:

    docker compose exec -it smtp postsuper -d ALL