Re: OpenSMTPD: SMTP_LIMIT_MAIL and SMTP_LIMIT_RCPT

2014-12-08 Thread Gilles Chehade
Stupid question but... why not catch the 4xx error and reestablish a new connection ? The limits are here for a purpose and bumping them to work-around a lack of check in some PHP code doesn't strike me as a good idea. No matter the value you set, value + 1 will still hit the check, while a very

Re: OpenSMTPD: SMTP_LIMIT_MAIL and SMTP_LIMIT_RCPT

2014-12-08 Thread mxb
We do a lot of bulk mails and not via local smtp, eg. PHP-code talks directly to opensmtpd. opensmtpd used as internal relay/smart host. I had to higher limits for those two in order to escape "452 4.5.3 Too many recipients: Too many messages sent “ //mxb > On 8 dec 2014, at 11:14, Gilles Cheha

Re: OpenSMTPD: SMTP_LIMIT_MAIL and SMTP_LIMIT_RCPT

2014-12-08 Thread Gilles Chehade
On Mon, Dec 08, 2014 at 11:00:50AM +0100, mxb wrote: > Hello @list, > > are there any plans for those constants to be configurable via smtpd.conf? > yes, they are actually already configurable in my sandbox thanks to a diff from a user, however not committed to OpenBSD yet. out of curiosity, wh

OpenSMTPD: SMTP_LIMIT_MAIL and SMTP_LIMIT_RCPT

2014-12-08 Thread mxb
Hello @list, are there any plans for those constants to be configurable via smtpd.conf? //mxb