OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Large messages causing "illegal seek" and "queue file write error" log entries

From: Ralph Seichter (postfix-mlseichter.de)
Date: Tue Mar 06 2007 - 04:38:47 CST


Lately, I keep seeing log message pairs like the following:

  Mar 6 04:43:31 host postfix/postdrop[15763]: warning: uid=0: Illegal seek
  Mar 6 05:43:31 host postfix/sendmail[15760]: fatal: root(0): queue file write error

The apparent one hour gap does not really exist, these messages appear
on consecutive lines of the mail log.

At 05:43 local time, a cron job generates a large binary file and uses
nail to send the file as an attachment, by dint of Postfix's sendmail.
This file's size has grown over time, so I suspected a connection. When
I increase message_size_limit sufficiently, the log entries no longer
occur.

Can Postfix be configured to allow the size of sendmail-injected mail to
exceed the general message_size_limit? Can the fatal queue file write
error perhaps be avoided in future Postfix releases?

Please let me know if you require "postconf -n" output.

-R