Login.conf Limits not Applying for Postfix

Eric S Pulley pulley at dabus.com
Thu May 9 14:08:13 UTC 2013

> 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

More information about the freebsd-questions mailing list