Uninstall BashEmail

Summary: One command takes BashEmail out of the mail path, releases held mail, turns the panel's own spam scanner back on and removes the agent.

Uninstalling restores the server to how it was, in a safe order, and checks the mail server still works at the end.

Uninstall

shell
curl -sSL https://bashemaildownloads.bashpilot.com/install-bashemail.sh | bash -s -- --uninstall

What it does

  1. 1

    Leaves the mail path

    BashEmail takes itself out of the mail path and turns the panel's own spam scanner back on.

  2. 2

    Releases holds

    Anything BashEmail was holding or blocking is released.

  3. 3

    Removes the agent

    The service, the scanning engine and the panel dashboard are removed.

  4. 4

    Checks mail

    It confirms the mail server's configuration is valid and the mail server is running.

What is kept

Your message history, the trained filter and your licence binding are kept, so a reinstall on the same server picks up where it left off and needs no new install token.

To remove those too, use --purge instead of --uninstall:

shell
curl -sSL https://bashemaildownloads.bashpilot.com/install-bashemail.sh | bash -s -- --purge

Last updated · Applies to BashEmail