Postfix virtual server map rebuild

SYSTEM INFORMATION
OS type and version Debian Linux 11
Webmin version 2.013
Usermin version 1.861
Virtualmin version 7.5
Theme version 20.13
Package updates All installed packages are up to date

I restored postfix from backup. Servers I’ve added since the backup aren’t in the virtual domains table. Is there a way reload that or do I have to do it by hand?

I’m not sure I understand what “restored Postfix from backup” means. You overwrote your current /etc/postfix/virtual with an old one? But, why?

I think that turning off mail for a user and then turning it back on will recreate their entry (or entries) in the virtual map, but I’m not sure if that’s safe (i.e. won’t delete mailboxes or whatever). You should test first, but if it does do the right thing, you could use the virtualmin command with the modify-user subcommand to do it in a script so you don’t have to click through the GUI for all the users. modify-user – Virtualmin

Sometimes long days/weeks end with stupid?

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.