hello all, I did a test here and it worked. I was wondering if anyone has tried this and had the same result. I installed ISPConfig 3.0.3.1. I set up the client, the domain, the site and created the email accounts by typing any password. I accessed the ISPConfig 2.2.19 via ssh and edit and copy the shadow password hash. I edited the database dbispconfig (ISPConfig 3.0.3.1) and pasted this hash in password field for the mail_user table and then tried to login via squirrelmail. Worked without problems...
ISPConfig uses the same hashing algorythm (crypt with md5 salt) for passwords then Linux for its shell users. So yes, you can copy the passwords from ispconfig into /etc/shadow and the other way round works as well if you e.g. want to migrate a mailuser setup based on Linux system users to a ispconfig 3 virtual user setup.
This is great (for me), because I need to migrate a base ISPConfig 2 for ISPConfig 3 and this solution solves my problems. Thank you Tim.