Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 2013 00:09:57 -0400
From:      hccip@hush.com
To:        freebsd-questions@freebsd.org
Subject:   Login.conf Limits not Applying for Postfix
Message-ID:  <20130509040957.AA76FA6E34@smtp.hushmail.com>

Next 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?

My full /etc/login.conf is here: http://pastebin.ca/2376936




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20130509040957.AA76FA6E34>