Description of problem: Hello, I am having problems with Dovecot not delivering 'big' emails. Small email with 1-2 kb text delivered fine. If the message about 200kb long or more it freezes. I am also getting "copy: i_stream_read() failed: Permission denied" erros in Dovecot log files. I have tried switching off selinux and settings 777 permissions to my mail_location - it both dont help.
Here is my cfg info: # 1.2.0: /etc/dovecot.conf # OS: Linux 2.6.29.5-191.fc11.x86_64 x86_64 Fedora release 11 (Leonidas) ext4 protocols: imap pop3 listen: * ssl: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: PREVED MEDVED first_valid_uid: 8 last_valid_uid: 8 first_valid_gid: 12 last_valid_gid: 12 mail_location: maildir:/home/email/%d/%n mail_debug: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 imap_client_workarounds(default): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 cram-md5 passdb: driver: sql args: /etc/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 432 user: mail group: mail
Version-Release number of selected component (if applicable): I'm running FC11 with exim and dovecot installed. The ext4 filesystem used for mail_location. Accounts are stored in PostgreSQL database. I have this for dovecot-1.2-0.rc6.1.fc11.x86_64 and dovecot-1.2.0-3.fc11.x86_64
Actual results: Emails freezed by SMTP server
Expected results: Emails delivered to mail_location
Additional info: There was no problems on my old FC9 setup with dovecot-1.0* and about same config as above.
I get this in /var/log/maillog when i'm trying to force delivery of freezed message (exim -M <message-id>): Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): auth input: home=eds.su/m.dmitrieva/ Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): auth input: uid=8 Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): auth input: gid=12 Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): Home dir not found: eds.su/m.dmitrieva/ Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): maildir: data=/home/email/eds.su/m.dmitrieva Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): maildir++: root=/home/email/eds.su/m.dmitrieva, index=, control=, inbox=/home/email/eds.su/m.dmitrieva Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): Namespace : Using permissions from /home/email/eds.su/m.dmitrieva: mode=0700 gid=-1 Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): mkdir_parents_chown(eds.su/m.dmitrieva/) failed: Permission denied (euid=8(mail) egid=12(mail)) Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): copy: i_stream_read() failed: Permission denied Jul 10 03:02:22 phobos dovecot: deliver(m.dmitrieva@eds.su): msgid=<63F3C8CBDB91EF4CAE94833FFD0ED62805E0DEB9@rm_exchange.runa.ru>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2009-07-10 03:02:22]
And i got this in /var/log/exim/main.log: 2009-07-10 03:02:22 1MOtm7-0002JR-Ss == m.dmitrieva@eds.su <M.dmitrieva@eds.su> R=dovecot_user T=dovecot_delivery defer (0): Child process of dovecot_delivery transport returned 75 (could mean temporary error) from command: /usr/libexec/dovecot/deliver
The maildir is owned by dovecot and writable for it. I have no problems with delivering small mail, only big. ls -lZ /home/email drwx------. mail mail unconfined_u:object_r:dovecot_var_lib_t:s0 eds.su drwx------. mail mail unconfined_u:object_r:dovecot_var_lib_t:s0 reklamka.biz