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?
From /var/log/syslog Jun 14 07:25:55 24 postfix/smtpd[10941]: connect from unknown[my_ip] Jun 14 07:25:55 24 postfix/smtpd[10941]: E97A71008BD0: client=unknown[my_ip] Jun 14 07:25:56 24 postfix/cleanup[10944]: E97A71008BD0: message-id=<!&!AAAAAAAAAAAYAAAAAAAAACzHdYCbb3tFoSCnr4mAlyHCgAAAEAAAADYs3E/[email protected]> Jun 14 07:25:56 24 postfix/qmgr[6365]: E97A71008BD0: from=<[email protected]>, size=1103, nrcpt=1 (queue active) Jun 14 07:25:56 24 postfix/smtpd[10941]: disconnect from unknown[my_ip] Jun 14 07:25:56 24 postfix/local[10945]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Jun 14 07:25:56 24 postfix/local[10945]: E97A71008BD0: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-) Jun 14 07:25:56 24 postfix/qmgr[6365]: E97A71008BD0: removed Jun 14 07:25:56 24 postfix/pickup[9264]: 6BE8A1008BF7: uid=0 from=<web28_questions> Jun 14 07:25:56 24 postfix/cleanup[10944]: 6BE8A1008BF7: message-id=<[email protected]> Jun 14 07:25:56 24 postfix/qmgr[6365]: 6BE8A1008BF7: from=<[email protected]>, size=432, nrcpt=1 (queue active) Jun 14 07:25:56 24 postfix/local[10945]: 6BE8A1008BF7: to=<[email protected]>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-) Jun 14 07:25:56 24 postfix/qmgr[6365]: 6BE8A1008BF7: removed That is all..
maildir format and my maildir has strange format. it consist of some files: .customflags .imap.index .imap.index.data .imap.index.log .imap.index.tree and they are located here ~/mail/.imap/INBOX I cannot find description of this format in google. is it Maildir or what?
Well.. good for you to solve it, but how ? I have the same problem, the postfix writes the delivered mail with 0600 instead with 0755 premissions. How can I fix that ?
The permission 0600 is fine for emails, emails are always stored with these permissions and not 0755.
well, then why do I get this when trying to access local mail: Code: dovecot: Mar 04 03:11:06 Error: IMAP(x-spirit): open(/home/x-spirit/Maildir/cur/1236157865.V80bId7018fM539656.ns:2,) failed: Permission denied dovecot: Mar 04 03:11:07 Error: IMAP(x-spirit): open(/home/x-spirit/Maildir/cur/1236157865.V80bId7018fM539656.ns:2,) failed: Permission denied and when I chmod the mail to 755 - it works fine ?
This forum and thread is for the software ISPConfig but the error log you posted can not be from a ISPConfig installation. maybe you posted your questions in the wrong context?