Skip to content

Add account without restart container #1639

@pyy

Description

@pyy

Subject

  • I would like to contribute to the project (code, documentation, advocacy, integration, ...)

Description

Hello, I would like to ask if this is the correct way to add/update/del an email account without docker-compose down && docker-compose up -d? Is this enough? Thank you.

./setup.sh email add <email> <password>
./setup.sh debug login supervisorctl restart dovecot
./setup.sh debug login supervisorctl restart postfix

I would like to add the answer to wiki:
https://github.com/tomav/docker-mailserver/wiki/FAQ-and-Tips#how-to-alter-the-running-mailserver-instance-without-relaunching-the-container

By the way, what service is "mailserver" in supervisorctl list?

# supervisorctl
amavis                           RUNNING   pid 422, uptime 0:05:40
...
dovecot                          RUNNING   pid 1244, uptime 0:05:28
fail2ban                         RUNNING   pid 338, uptime 0:05:42
fetchmail                        STOPPED   Not started
mailserver   <--                    RUNNING   pid 8, uptime 0:05:49
opendkim                         RUNNING   pid 284, uptime 0:05:43
opendmarc                        RUNNING   pid 292, uptime 0:05:43
postfix                          RUNNING   pid 1102, uptime 0:05:29
....

Thank you

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions