Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 08:02:26 -0600
From:      "Eric S Pulley" <pulley@dabus.com>
To:        hccip@hush.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Login.conf Limits not Applying for Postfix
Message-ID:  <b37845146ced223638a84dfcb8819e46.squirrel@webmail.dabus.com>
In-Reply-To: <20130509040957.AA76FA6E34@smtp.hushmail.com>
References:  <20130509040957.AA76FA6E34@smtp.hushmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hey list,
>
> I have a pretty low resource usage for users on my system, thus I have
> some low limits set in my /etc/login.conf. Particularly "openfiles," which
> is set to 128 for the default class. However, I started getting errors
> from Postfix saying it has hit this limit:
> "postfix/proxymap[97907]: warning: could allocate space for only 128 open
> files"
>
> So I added a new class in my /etc/login.conf:
>
> postfix:\
>     :openfiles=1024:\
>     :tc=default:
>
> Yes, I did run `cap_mkdb /etc/login.conf` (multiple times, in fact). I
> stopped and restarted the postfix daemon. I've even rebooted the system
> entirely since then, to no avail (It sends half the mail at a time - but
> the error appears again once mail starts building up). Am I missing
> something? Do I need to set the postfix user into the postfix login class
> somehow?

Yes see http://www.freebsd.org/doc/en/books/handbook/users-modifying.html
>
> My full /etc/login.conf is here: http://pastebin.ca/2376936





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b37845146ced223638a84dfcb8819e46.squirrel>