Re: [webmin-l] Problem migrating from sendmail using Maildir to Postfix
"Keith Mountifield" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
That's great! Thanks Jamie, That seems to have worked, certainly the entries are there. I'll know for sure when I've run some tests. This is a test case for migrating a few other servers, one has around 200 email accounts. Is there a way to script an automated process to achieve this? Cheers Keith -----Original Message----- From: Jamie Cameron [mailto:[email protected]] Sent: 27 October 2016 05:14 To: Webmin users list <[email protected]> Subject: Re: [webmin-l] Problem migrating from sendmail using Maildir to Postfix On 26/Oct/2016 16:23 Keith Mountifield <[email protected]> wrote .. > Hi All, > > I am in the process of migrating several servers from sendmail to > postfix as the MTA. I'm already using Maildir and procmail is working perfectly. > > I have a good configuration that works, however none of the existing > user email accounts can receive email due to not being listed in the > virtual domains. Any new accounts I create work perfectly, however > even if I set up what looks like the equivalent mapping within the > postfix config, the user gets rejected as a recipient. > > So, my question is: > > Is there a way to import the existing email accounts into postfix > through Webmin without deleting them one by one and recreating them. > > So far I have tried taking a backup of the domain and restoring just > the users and their home directories, and deleting the entire domain > from the server and restoring that. Still no entries in the virtual > file and no email delivery to these pre-existing addresses. > > This is a small server with only two domains and about 10 addresses, > so it would be possible to delete >recrezte > restore the homes, for > each address, however, my larger server which is also, hopefully going > to get the same upgrade is going to have well over 100 email accounts, > so must me automated in some way. One way to do this may be to edit each user in the Virtualmin UI, and set the "Primary email address enabled" option to "Yes". This should re-create the Postfix virtual file entries. ---------------------------------------------------------------------------- -- The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list