Re: Login.conf Limits not Applying for Postfix

2013-05-09 Thread Eric S Pulley

 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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Login.conf Limits not Applying for Postfix

2013-05-08 Thread hccip
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org