Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable smtpd in Postfix. It is not necessary in sent-only satellite …
…mode Signed-off-by: Volker Theile <votdev@gmx.de>
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change breaks the usage of open-relay-config with variables "OMV_POSTFIX_MAIN_INET_INTERFACES" and "OMV_POSTFIX_MAIN_COMPATIBILITY_LEVEL"
38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please go into details?
The snmpd daemon was enabled by accident which has been fixed with mentioned commit. OMV is using Postfix in sent-only satellite mode.
38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use the variables menioned to use the omv-postfix instance as an internal open-mail-relay.
This way I can use other systems in my LAN to send mails via OMV, but if smtpd is disabled, this is not possible anymore.
My current config is:
38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, added the environment variable
OMV_POSTFIX_MASTER_SMTPD_ENABLED
inopenmediavault 6.4.6
to enable/disable smtpd. Check 16e53db38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add some more side-info why smtpd has been disabled. Many users are running mail servers in containers which conflicts with Postfix on the OMV host which does not really need smtpd. See https://forum.openmediavault.org/index.php?thread/48223-how-to-free-port-25-for-mail-server/&pageNo=1
38bdf39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Thank you!