Importing mail alias from cpanel generates a wrong /etc/postfix/virtual

Hi,

Importing a domain with a forwarders list from cpanel 11.25.0-RELEASE to virtualmin GPL 3.76 generated a wrong /etc/postfix/virtual file, with entries looking like this one:

user@domain.name@domain.name user@alias.domain

This entries where not showing in the virtualmin alias list, and not being deleted after the domain is deleted.

After manually fixing the virtual file, this entries appeared on te virtualmin list and where properly deleted. user@domain.name user@alias.domain

I have users with the default setup of user.domain and and real mail users where imported ok,

Thank you

daniel

Status: 
Closed (fixed)

Comments

Ok, I see the cause of this, and will include a fix in the next Virtualmin release.

Or you can just save the attached file as /usr/share/webmin/virtual-server/migration-cpanel.pl and re-try the migration, after cleaning up the /etc/postfix/virtual file.

I've tested the migration-cpanel.pl file and it worked fine.

Thank you.

daniel

Automatically closed -- issue fixed for 2 weeks with no activity.