Jay Chandler:
> Zbigniew Szalbot wrote:
> > Hello,
> >
> > I have just seen this snippet in maillog:
> >
> > Sep 29 09:09:11 relay postfix/showq[21060]: warning:
> > deferred/3/3559EB80E7: uid 125: file has 2 links

Postfix use the standard rename() function to move mail between incoming,
active and deferred queues. Depending on the underlying implementation,
this will result in a brief moment where a file has two names.

For example, a safe implementation will use the equivalent of:

    rename(old, new) -> link(old, new) + unlink(old)

I have never seen this warning on my own systems, but many years
ago someone using Solaris reported a "file has 2 links" warning on
the mailing list.

Maybe I should just remove the warning message (or log it only
with a non-default debug level).

        Wietse

> > I googled for an answer and the only suggestion I have found was about
> > possible file system corruption. I hope this is not the case with my
> > system. I did check yesterday's maillog and there was no such problem.
> > However, today I upgraded postfix to version postfix-2.5.5,1 and
> > wonder if this may have anything to do with it. I stopped and started
> > postfix after the upgrade.
> >
> > In case it matters, I use FreeBSD 7.0-RELEASE-p2.
> >
> > Many thanks for your help!
> >
> >   
> I've upgraded today as well, but don't see that message in my logs on 
> FreeBSD 7.0-RELEASE-p4.
> 
> I seem to recall seeing some new options in Postfix a month or so ago 
> that may be relevant-- something to do with alerting on permission / 
> link existence.
> 
> -- 
> Jay Chandler / KB1JWQ
> Living Legend / Systems Exorcist
> Today's Excuse: bit bucket overflow
> 
> 
> 

Reply via email to