From owner-freebsd-questions@FreeBSD.ORG Thu May 9 04:11:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F17ED329 for ; Thu, 9 May 2013 04:11:01 +0000 (UTC) (envelope-from hccip@hush.com) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by mx1.freebsd.org (Postfix) with ESMTP id DC3CB1BE6 for ; Thu, 9 May 2013 04:11:01 +0000 (UTC) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by smtp1.hushmail.com (Postfix) with SMTP id C878130B71 for ; Thu, 9 May 2013 04:09:57 +0000 (UTC) Received: from smtp.hushmail.com (w6.hushmail.com [65.39.178.92]) by smtp1.hushmail.com (Postfix) with ESMTP for ; Thu, 9 May 2013 04:09:57 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id AA76FA6E34; Thu, 9 May 2013 04:09:57 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 09 May 2013 00:09:57 -0400 To: freebsd-questions@freebsd.org Subject: Login.conf Limits not Applying for Postfix From: hccip@hush.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130509040957.AA76FA6E34@smtp.hushmail.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 04:11:02 -0000 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