Hi all, after struggling for days with setting the option “Accept unknown recipients” I want to ask for advice here before I finally decide to quit NS8.
I know to turn off “Add user address from user domain” so I am doing that. After this according to the documentation you can designate a user or an administrator or a mailbox where the mail for unknown users should go. However, this does not work at all. I think I have started over 15 times with a fresh NS8 vm but no success.
In another post about this problem I saw a reference to “GitHub - NethServer/ns8-mail: NS8 Mail module with SMTP, IMAP, Spam/Virus filter.
After entering the command mentioned there “podman exec -ti postfix postconf -n” you get the following response: “Error: no container with name or ID “postfix” found: no such container” so now I am at the end of my possibilities.
Does anyone from the developers or super users have a working solution for this? I would be very happy with it because then we can also initiate the switch from NS7. However, a catch-all is essntional for how we work at our small non-profit organization.
If there is no solution to this problem we will have to continue working with NS7.
There is another, possibly related problem. If you turn off “Add user address from user domain” you can no longer install Roundcube on that domain. That is not very convenient either.
I hope someone has the solution and would like to say thank you in advance if you look into it.
It’s listed as a migration limitation in the documentation so it may be not supported, see also NethServer 7 migration — NS8 documentation
It seems “Accept unknown recipients” in NS8 is used for example for mail domain migration scenarios to still get mails of the old domain, see also Mail — NS8 documentation
There’s a command missing in the documentation.
NS8 uses podman which provides rootless containers running in user environments, so to enter the user environment for the app instance “mail1” you need to run
@mrmarkuz, with all due respect, you sprinkle terminal codes but also say “ DOESN’T WORK” so at this point I don’t know if a catch all is possible or not.
Can you please say it in plain English yes or no ?
It seems not supported but it’s just postfix so maybe it could be customized to provide a catchall mail address.
I thought you wanted to customize it as you asked about the commands so I just wanted to give an idea or a starting point.
Sorry, I can’t give a clear answer here. @davidep@stephdl is it still possible in NS8 to use a catchall address in a mail domain that includes users?
A domain without users has a complete list of valid addresses, known by Postfix DB, so it can reliably route unknown addresses to the catchall one.
Postfix does not directly connect to LDAP where users are listed. Without a complete list of available mailboxes it doesn’t know if an address corresponds to a user. Hence it cannot route the message to the catchall reliably.
To overcome this known limitation we have to schedule a new feature in future milestones.