Hello, All.
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...).
Please, help.
postfix's main.cf:
virtual_maps = hash:/etc/postfix/virtusertable
local_recipient_maps = $virtual_maps, unix

asswd.byname
mydestination = /etc/postfix/local-host-names
myorigin = /etc/mailname
relayhost =
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
/etc/dovecot/dovecot.conf:
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?
Recent comments
14 hours 58 min ago
1 day 25 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 9 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 4 hours ago