OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Administrator (admincmpsource.com)
Date: Thu Jan 04 2001 - 17:42:27 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Thanks for the work around. I no longer get that message.

    Scott

    -----Original Message-----
    From: owner-postfix-userspostfix.org
    [mailto:owner-postfix-userspostfix.org]On Behalf Of Wietse Venema
    Sent: Thursday, January 04, 2001 5:28 PM
    To: Postfix users
    Subject: Re: File Size Limit - Again

    Administrator:
    > I am a new user and have setup Postfix on a Linux box. Everything is
    working
    > ok but I am getting a warning in the maillog about file size limit. Have
    > looked over documentation and cannot find any reference about setting this
    > to a particular value. Any help would be appreciated.
    >
    > Thanks from a Novice Postfix User
    > Scott
    >
    > The exact message from the maillog is as follows:
    >
    >
    > Jan 4 13:53:14 mail postfix/master[633]: warning: file size limit
    > 4294967295 < message_size_limit 7168000 -- reset

    Your system has a default file size limit that exceeds the range
    that fits in the "off_t" data type which is used for file position
    calculations.

    Looks like your off_t is a 32-bit signed integer, which has a range
    of 2147483647 to -2147483648. The bit pattern of the value 4294967295
    corresponds to the value -1, which is not a reasonable file size
    limit.

    It is possible that the value 4294967295 corresponds to your system's
    definition of "unlimited". I'll try to write some code for that
    special case.

    As a workaround, you can edit /etc/postfix/postfix-script and add
    a line

        ulimit -f 2097151

    somewhere near the start of the script. This is bash-specific syntax
    (ulimit -f is given in 1024 byte units; other systems use 512 byte
    units instead).

            Wietse