ISPConfig, postfix, dovecot: incorrect permissions
I had a server (Debian) with ISPConfig, postfix and dovecot configured.
Accidentally i changed permissions on all my file system (chown root:users / -R).
After restoring permissions for postfix and some other essential services (i've mo nitored errors on /var/log/syslog) everything was fine. But later I realized, that new mails are now delivering to /var/mail/user_name instead of /home/www/web##/user/web##_user_name/mail/.imap/
None of config files was changed, so i think that incorrect permissions on some files is the reason for it. Ofcourse only new mails are visible now via imap.
I want at least to import all my old mail to new location. And ofcource will be better to restore old behavior (delivering mails to /home/www/bla-bla...).
virtual_maps = hash:/etc/postfix/virtusertable
local_recipient_maps = $virtual_maps, unixasswd.byname
mydestination = /etc/postfix/local-host-names
myorigin = /etc/mailname
mynetworks = my_ips_here
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated
smtp_helo_name = mail.my_domain_here
protocols = imap imaps pop3 pop3s
imap_listen = *
pop3_listen = *
imaps_listen = *
pop3s_listen = *
login_chroot = yes
login = imap
login = pop3
mail_extra_groups = mail
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root
auth_debug = yes
what else can help?