[Dovecot] Dovecot dying when deliver is called
Hello,
I run a debian etch server with the mail services configured like their: http://workaround.org/articles/ispmail-etch/ It worked during month but of the last upgrade it doesn't work anymore when postfix calls deliver. dovecot version is 1.0.rc15. I don't remember which was the previous version.
There is no error accessing dovecot in any other way.
Here my configuration: # /etc/dovecot/dovecot.conf log_path: /var/log/dovecot_err.log info_log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: pop3 pop3s imap imaps login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_location: maildir:/home/vmail/%d/%n mail_debug: yes mail_drop_priv_before_exec: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap):You can find a copy of the pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: static args: uid=1004 gid=1005 home=/home/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail
I am not able to get a coredump.
You can find a copy of the error mail attached. I didn't get any message from log files.
If someone have any clue, I will helping.
Regards, Pierrick Caillon
Thank you.
The logfiles are created with permissions to root:root and 600 by dovecot. As deliver can't acces them, do I have to change the permissions ? And to what ?
I figured out a little thing: There was a specific log file for deliver into which it says it can't open the other logs. That's why there is no more details.
-----Message d'origine----- De : dovecot-bounces+mygoddess0=gmail.com@dovecot.org [mailto:dovecot-bounces+mygoddess0=gmail.com@dovecot.org] De la part de Timo Sirainen Envoyé : jeudi 15 mai 2008 06:51 À : Dovecot Mailing List Objet : Re: [Dovecot] Dovecot dying when deliver is called
On Wed, 2008-05-14 at 20:38 +0200, MyGoddess wrote:
<newold@ahmygoddess.info>: Command died with status 80: "/usr/lib/dovecot/deliver"
80 means it failed to open the log file for writing.
On Thu, 2008-05-15 at 08:52 +0200, MyGoddess wrote:
Thank you.
The logfiles are created with permissions to root:root and 600 by dovecot. As deliver can't acces them, do I have to change the permissions ? And to what ?
http://wiki.dovecot.org/LDA#logging gives some suggestions.
Oh, yes, thank you.
It think the issue comes because in a previous version, the info_log_path for the lda was copied from its log_path and not from the master info_log_path.
It is working now.
-----Message d'origine----- De : dovecot-bounces+mygoddess0=gmail.com@dovecot.org [mailto:dovecot-bounces+mygoddess0=gmail.com@dovecot.org] De la part de Timo Sirainen Envoyé : jeudi 15 mai 2008 08:56 À : Dovecot Mailing List Objet : Re: [Dovecot] Dovecot dying when deliver is called
On Thu, 2008-05-15 at 08:52 +0200, MyGoddess wrote:
Thank you.
The logfiles are created with permissions to root:root and 600 by dovecot. As deliver can't acces them, do I have to change the permissions ? And to what ?
http://wiki.dovecot.org/LDA#logging gives some suggestions.
MyGoddess wrote:
Oh, yes, thank you.
It think the issue comes because in a previous version, the info_log_path for the lda was copied from its log_path and not from the master info_log_path.
I ran into this same problem - and it doesn't fail gracefully either - at least with 1.0.rc15-2etch4.
If the permissions aren't there it shouldn't hang the calling MTA.
The more I think about this - LDA really should be part of the MTA and not separate - I would love to see a dovecot switch in exim - "maildir_format = dovecot" which would simplify the permissions mess. With the wonders of GPLed code this is a possibility.
Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
The whole point of this sentence is to make clear what the whole point of this sentence is. --Douglas R. Hofstadter
participants (3)
-
Karl Schmidt
-
MyGoddess
-
Timo Sirainen