Robert Lopez:
> On one instance of an email gateway there are two files ...
> [r...@mg05 log]# ls -l /var/spool/postfix/corrupt
> total 4660
> -rwx------ 1 postfix postfix 2183168 2009-08-30 21:06 2C9ED9BB*
> -rwx------ 1 postfix postfix 2588672 2009-10-02 06:46 939DD23CA*

You can find the history of these files in the maillog file.

> The postcat of them show "unexpected EOF in data" and I suspect they
> were simply too large.

The "execute" file permission means that the file was already fully
written to the file system. You can't have incomplete queue files
with the execute bit, unless you have a) a file system with delayed
errors or b) a corrupted file system.

> Is the safe way to deal with them just to
> remove them?
> 
> Is "postsuper -d corrupt/2C9ED9BB" the (best) way to remove them?

postsuper -d 2C9ED9BB

Every name is supposed to be unique (if it isn't you have mail
queue corruption caused perhaps by the use of non-Postfix programs
on Postfix queue files).

        Wietse

Reply via email to