[GH-ISSUE #1238] postfix's main.cf should have an entry for $mydestination #1006

Closed
opened 2026-02-27 11:14:42 +03:00 by kerem · 4 comments
Owner

Originally created by @TonyBostonTB on GitHub (Sep 20, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1238

Impacted versions

  • Modoboa: 1.9.0
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

  • Install everything via installer.
  • $EDITOR /etc/aliases | change root mail
  • $ newaliases

Current behavior

  • postfix doesn't use /etc/aliases.db

Expected behavior

  • postfix now uses the just set root mail

One has to change /etc/postfix/main.cf to have the following
$mydestination = $myhostname

Originally created by @TonyBostonTB on GitHub (Sep 20, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1238 # Impacted versions * Modoboa: 1.9.0 * installer used: Yes * Webserver: Nginx # Steps to reproduce - Install everything via installer. - $EDITOR /etc/aliases | change root mail - $ newaliases # Current behavior - postfix doesn't use /etc/aliases.db # Expected behavior - postfix now uses the just set root mail One has to change /etc/postfix/main.cf to have the following $mydestination = $myhostname
kerem 2026-02-27 11:14:42 +03:00
Author
Owner

@tonioo commented on GitHub (Sep 22, 2017):

This is intentional. Instead, I'd like to setup a default domain in Modoboa corresponding to the hostname with an administrator and a catchall alias to receive all emails sent by daemon programs. What do you think?

<!-- gh-comment-id:331376080 --> @tonioo commented on GitHub (Sep 22, 2017): This is intentional. Instead, I'd like to setup a default domain in Modoboa corresponding to the hostname with an administrator and a catchall alias to receive all emails sent by daemon programs. What do you think?
Author
Owner

@paulchabotca commented on GitHub (Oct 2, 2017):

This is great, but currently as it stands, message ids look like this.
Message-ID: 20171002090039.1244.83116@localhost.localdomain

<!-- gh-comment-id:333480779 --> @paulchabotca commented on GitHub (Oct 2, 2017): This is great, but currently as it stands, message ids look like this. Message-ID: <20171002090039.1244.83116@localhost.localdomain>
Author
Owner

@tuxis-ie commented on GitHub (Nov 27, 2017):

I think on a Linux machine, people are used to redirect root to a specific address. Having to install the localdomain into modoboa and create a forward there seems inefficient.

<!-- gh-comment-id:347233656 --> @tuxis-ie commented on GitHub (Nov 27, 2017): I think on a Linux machine, people are used to redirect root to a specific address. Having to install the localdomain into modoboa and create a forward there seems inefficient.
Author
Owner

@tonioo commented on GitHub (Dec 3, 2017):

Changed (github.com/modoboa/modoboa-installer@111cb83b07).

<!-- gh-comment-id:348764023 --> @tonioo commented on GitHub (Dec 3, 2017): Changed (https://github.com/modoboa/modoboa-installer/commit/111cb83b07270032a928425009522d94b0c82b88).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1006
No description provided.