Mailcow-dockerized: Send E-Mails from Command Line (Systemmail)

Created on 1 Feb 2018  Â·  6Comments  Â·  Source: mailcow/mailcow-dockerized

I have a vServer only with Mailcow Dockerized. It work great.

But Mails from command Line (crontab error, system messages for updates with apticron) don't come in my mailbox.

Do I have to install a separat MTA (postfix) for this, or what I have forgot for settings?

Thank you for help and sorry for my bad english

Most helpful comment

Hi,

You can either follow https://mailcow.github.io/mailcow-dockerized-docs/firststeps-local_mta/ or install "s-nail". Using "s-nail", you need to add set smtp=smtp://127.0.0.1:25 to /etc/s-nail.rc.

All 6 comments

Hi,

You can either follow https://mailcow.github.io/mailcow-dockerized-docs/firststeps-local_mta/ or install "s-nail". Using "s-nail", you need to add set smtp=smtp://127.0.0.1:25 to /etc/s-nail.rc.

Ah ok. Thank you. So I install postfix as send only. I had think I don't need it with mailcow.
So I can install postfix as Satelite System an change the port and the hostname?

Just install as normal Internet system and apply the changes from the docs.

Just install as normal Internet system and apply the changes from the docs.

Thank you. I have only one problem:
I don't have this line in my main.cf to disable
smtp inet n - - - - smtpd
And so I have in mail.err log
postfix/master[5751]: fatal: bind 127.0.0.1 port 25: Address already in use

I use Debian Stretch. I found a old entry with this one:
master_service_disable = inet
With this line it works. Is this correct with this entry?
When its ok, its an idea to additional this info in https://mailcow.github.io/mailcow-dockerized-docs/firststeps-local_mta/

Master.cf

Am 03.02.2018 um 08:41 schrieb KodaCCH notifications@github.com:

Just install as normal Internet system and apply the changes from the docs.

Thank you. I have only one problem:
I don't have this line in my main.cf to disable
smtp inet n - - - - smtpd
And so I have in mail.err log
postfix/master[5751]: fatal: bind 127.0.0.1 port 25: Address already in use

I use Debian Stretch. I found a old entry with this one:
master_service_disable = inet
With this line it works. Is this correct with this entry?
When its ok, its an idea to additional this info in https://mailcow.github.io/mailcow-dockerized-docs/firststeps-local_mta/

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

ok. sorry. I don't have see the different master and main :). Now all works fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thannaske picture thannaske  Â·  3Comments

Braintelligence picture Braintelligence  Â·  3Comments

pgollor picture pgollor  Â·  3Comments

a3li picture a3li  Â·  3Comments

schoebelh picture schoebelh  Â·  3Comments