Solved

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

Posted on 2010-09-22
4
1,885 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
  • 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

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.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now