LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ISPConfig, postfix, dovecot: incorrect permissions (https://www.linuxquestions.org/questions/linux-software-2/ispconfig-postfix-dovecot-incorrect-permissions-454361/)

keyF 06-13-2006 10:01 AM

ISPConfig, postfix, dovecot: incorrect permissions
 
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, unixasswd.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?


All times are GMT -5. The time now is 07:34 AM.