Is there any way I can send an email completely from the CLI? on the server where postfix is running inside the mailcow docker compose?

If possible, kindly guide me how I can do that.

Thanks a lot.

I want to send an email to my Google account via the postfix running in my mailcow instance. Is it possible?

  • As long as you do not do something in the postfix container that is ok.
    You can send it via the host mailcow is running on.
    Just connect to port 25.
    But do not change something in the compose. It will not survive updates.
    Use the protocols mailcow is offering (IMAP, SMTP, API) wherever possible, do not interfere directly with the containers!

As long as you do not do something in the postfix container that is ok.
You can send it via the host mailcow is running on.
Just connect to port 25.
But do not change something in the compose. It will not survive updates.
Use the protocols mailcow is offering (IMAP, SMTP, API) wherever possible, do not interfere directly with the containers!

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    esackbauer
    I am sending it via CLI using mail and mailsend and msmtp and the commands execute successfully but I do not receive the email. Is there any config I need to make, to make it work?

    esackbauer Also, my smtp server has sufficient resources and there are a lot of email accounts on my server and due to this, the mailcow Instance is slowing down, especially when i do docker compose down; docker compose up; It takes more than an hour to start functioning properly, or it stays stuck at the What’s Happening page. I have narrowed down my search to the fact that mysql is not utilizing all of the available resources in my system. Could you please help me in tweaking the mysql container configs so that it utilizes maximum resources on my server and eventually Increase the overall speed of my MC instance? I can see that mysql does not take more than 1 core, I have 12 dedicated cores and 64Gb of ram, all going to waste since mysql can’t really use it. Can you please Help?

    [unknown] Also, my smtp server has sufficient resources and there are a lot of email accounts on my server and due to this, the mailcow Instance is slowing down, especially when i do docker compose down; docker compose up; It takes more than an hour to start functioning properly, or it stays stuck at the What’s Happening page. I have narrowed down my search to the fact that mysql is not utilizing all of the available resources in my system. Could you please help me in tweaking the mysql container configs so that it utilizes maximum resources on my server and eventually Increase the overall speed of my MC instance? I can see that mysql does not take more than 1 core, I have 12 dedicated cores and 64Gb of ram, all going to waste since mysql can’t really use it. Can you please Help?

    [unknown] Also, my smtp server has sufficient resources and there are a lot of email accounts on my server and due to this, the mailcow Instance is slowing down, especially when i do docker compose down; docker compose up; It takes more than an hour to start functioning properly, or it stays stuck at the What’s Happening page. I have narrowed down my search to the fact that mysql is not utilizing all of the available resources in my system. Could you please help me in tweaking the mysql container configs so that it utilizes maximum resources on my server and eventually Increase the overall speed of my MC instance? I can see that mysql does not take more than 1 core, I have 12 dedicated cores and 64Gb of ram, all going to waste since mysql can’t really use it. Can you please Help?

      • esackbauer

        • Community Hero
        Moolevel 350

      abdullah_mudassar but I do not receive the email

      Check your postfix logs.

      abdullah_mudassar I can see that mysql does not take more than 1 core,

      That is not a mailcow limitation. Probably it has to do with the platform you are running on.
      I can’t help you with mysql (mariaDB in this case) tuning, I have not much experience with that.
      You could try the mailcow Telegram Icon telegram channel

      for help.

      No one is typing