Solved

postfix & dovecot (temporary failure. Command output: Failed to write to log file)

Posted on 2010-09-22
4
1,950 Views
Last Modified: 2013-12-06
Dear all,

I have a problem with our mail gateway. Since last night the postfix queue will not be flushed after the email is delivered to the dovecot mailbox. The emails are arriving but will not be deleted from the queue. The problem is that this emails are delivered each time the queue is sending.

With postqueue -p command I see this error message:
(temporary failure. Command output: Failed to write to log file)

In the maillog i see this error:
relay=local, delay=0.66, delays=0.14/0/0/0.51, dsn=4.3.0, status=deferred (temporary failure. Command output: Failed to write to log file)

if I check the log file for dovecot "grep "This is Dovecot's" /var/log/*" I get this informations:
/var/log/maillog:Sep 22 08:30:55 mail dovecot: This is Dovecot's info log
/var/log/maillog:Sep 22 08:30:55 mail dovecot: This is Dovecot's warning log
/var/log/maillog:Sep 22 08:30:55 mail dovecot: This is Dovecot's error log
/var/log/maillog:Sep 22 08:30:55 mail dovecot: Fatal: This is Dovecot's fatal log

So for me just the maillog is the log file in use. But I can't see there a problem.

Many thanks in advanced.
Joerg
0
Comment
Question by:advz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 500 total points
ID: 33732267
Have a look at http://wiki.dovecot.org/LDA#logging especially the part about Postfix's
mailbox_size_limit.

0
 

Author Comment

by:advz
ID: 33732405
Dear owensleftfoot,

many thanks for the fast and specially correct answer.
I set the mailbox size higher and now it works again.

But I don't understand the combination! This is the statement from the Dovecot page:
Note that Postfix's mailbox_size_limit setting applies to all files that are written to. So if you have a limit of 50 MB, deliver can't write to log files larger than 50 MB and you'll start getting temporary failures

Does it mean, if the maillog is bigger as 50MB I get this kind of failures?
I have several mail gateways or servers with a bigger size of 50MB of the maillog.
Do you have maybe a link with a description as well.

Again many thanks and kind regards
Joerg
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 33734926
Im not sure why your other servers are working with a > 50mb log. I would guess different configurations?
0
 

Author Comment

by:advz
ID: 33734962
I will find it out.

Thanks and regards
Joerg
0

Featured Post

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question