Postfix mail are getting queued

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Postfix mail are getting queued

Alamgir Shamim
Hello,

I am facing a problem with postfix. Incoming mails are getting queued
randomly. When I see the log I found the below repeatedly and see that
incoming mails are getting queued.

Oct 21 14:04:06 spamguard postfix/qmgr[30495]: fatal: qmgr_active_feed:
1E8E01426E1: rename from incoming to active: Input/output error

When i deleted the mail 1E8E01426E1 from incoming directory and
restart the postfix all queued mail delivered to the users. Here is
another log I just found 10 min back.

Oct 21 16:36:53 spamguard postfix/qmgr[31438]: fatal:
qmgr_active_feed: 21D7D142C04: rename from incoming to active:
Input/output error

Again deleted 21D7D142C04 and thing become normal. What might be the
problem and how to resolve. Please help.

BR
Tuhin.
Reply | Threaded
Open this post in threaded view
|

Re: Postfix mail are getting queued

Viktor Dukhovni
On Wed, Oct 21, 2015 at 05:10:46PM +0600, Alamgir Shamim wrote:

> Oct 21 14:04:06 spamguard postfix/qmgr[30495]: fatal: qmgr_active_feed:
> 1E8E01426E1: rename from incoming to active: Input/output error

Perhaps you have corruption in the filesystem.  Or a security policy
that's denying the rename.

> When i deleted the mail 1E8E01426E1 from incoming directory and
> restart the postfix all queued mail delivered to the users. Here is
> another log I just found 10 min back.

Instead of deleting the file, determine and report its permissions
owner and group.  Try "postcat -q <queueid>" to see whether the
file contents look like a well-formed message.  Finally become the
"postfix" user and try to rename the file with that user's permissions.

        mv incoming/<queue-id> active/<queue-id>

> Oct 21 16:36:53 spamguard postfix/qmgr[31438]: fatal:
> qmgr_active_feed: 21D7D142C04: rename from incoming to active:
> Input/output error

Ditto.

--
        Viktor.
Reply | Threaded
Open this post in threaded view
|

Re: Postfix mail are getting queued

Wietse Venema
Viktor Dukhovni:

> On Wed, Oct 21, 2015 at 05:10:46PM +0600, Alamgir Shamim wrote:
>
> > Oct 21 14:04:06 spamguard postfix/qmgr[30495]: fatal: qmgr_active_feed:
> > 1E8E01426E1: rename from incoming to active: Input/output error
>
> Perhaps you have corruption in the filesystem.  Or a security policy
> that's denying the rename.
>
> > When i deleted the mail 1E8E01426E1 from incoming directory and
> > restart the postfix all queued mail delivered to the users. Here is

If other messages go through as expected, then you very likely have
a file system corruption problem, which may be the result of failing
hardware.

Suggestions: try smartmontools to check the disk health, and try
to repair the file system with umount and fsck.

        Wietse