Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-09-22
4
Medium Priority
?
2,012 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses

610 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