Canonical.db in NS8

NethServer Version: 8
Module: mail migration

Hello again,
after migration we have massive problems with email module…

  1. In NS7 we had numbered clients user00 … user99, because of personnel fluctuation.
    If someone changed we only edited the file /etc/postfix/canonical and translated it with

postmap /etc/postfix/canonical

and all ok
Example of canonical:

`user01@xxx.lan	steffen.stab@xxx-yyy.de
user02@xxx.lan	juergen.joker@xxx-yyy.de`

Now the mail sender name is user01…
How is it possible to right this in NS8 ???

I’m sorry, but this is an NS7 customization, and it is not handled by the migration tool. To implement a similar customization in NS8, refer to this documentation: GitHub - NethServer/ns8-mail: NS8 Mail module with SMTP, IMAP, Spam/Virus filter

If you introduce a custom Postfix table, such as “canonical,” ensure its path resides under the postfix-custom volume; otherwise, its data will be lost on the next container restart.

1 Like