YunoHost-Apps / mailman3_ynh

Mailman - The GNU Mailing List Management System packaged for YunoHost.
GNU Affero General Public License v3.0
7 stars 4 forks source link

Configure incoming mail instructions don't apply to YNH 11 ? #26

Closed olberger closed 2 years ago

olberger commented 2 years ago

Instructions in "Configure incoming mail" in the readme can't be applied as such to current YuNoHost 11.0.6 (testing). The Readme tells " You'll need to add this to your Postfix configuration:

owner_request_special = no

transport_maps =
  hash:/var/lib/mailman3/data/postfix_lmtp

local_recipient_maps =
  hash:/var/lib/mailman3/data/postfix_lmtp

virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf, hash:/var/lib/mailman3/data/postfix_lmtp

However, I currently have: /etc/postfix/main.cf with:

owner_request_special = no

transport_maps =
    hash:/var/lib/mailman3/data/postfix_lmtp
local_recipient_maps =
    hash:/var/lib/mailman3/data/postfix_lmtp
relay_domains =
    hash:/var/lib/mailman3/data/postfix_domains

From the explanation, I cannot understand what needs to be made.

Btw, it would be helpul to explicitely state which config file needs to be adapted (wasn't hard to figure, but not everyone may be familiar with postfix config)

Thanks in advance.

olberger commented 2 years ago

I think I'm making progress.

The snippet I copied from the /etc/postfix/main.cf was at the end of the file and didn't contain any stanza for virtual_mailbox_maps

That config is actually present above in the file, initially containing:

# Virtual Domains Control                                                                                                                                                                                 
virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf                                                                                                                                             

So I guess that part should be adjusted too.

Then the instructions shouldn't just say "add this", but instead, "adjust this, this and that"...

Hth,