Re: Bulk sends to transport getting backed up

2015-04-14 Thread Viktor Dukhovni
On Tue, Apr 14, 2015 at 02:26:35PM -0500, Andrew Noonan wrote: > I suspect that this is the root of the problem. As Viktor kindly > pointed out, there are probably other things that should be tweaked, > but as this was pretty much all a/b delay, and not c/d delay. Don't confuse cause and effect.

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Viktor Dukhovni
On Tue, Apr 14, 2015 at 02:05:02PM -0400, Bill Cole wrote: > >postconif -d (defaults) diff with postconf - p (configured) > > > >< smtp_sasl_type = cyrus > >--- > >>smtp_sasl_type = dovecot>> > > > Do you understand the difference between these two lines? > > smtp_sasl_type = dovecot > smtpd_sa

Re: Bulk sends to transport getting backed up

2015-04-14 Thread Andrew Noonan
On Tue, Apr 14, 2015 at 1:43 PM, Wietse Venema wrote: > Andrew Noonan: >> a delivery problem, nor a Postfix or system capacity problem. I tried >> turning some knobs with concurrency, but never saw postfix spin up >> smtp processes to max out those settings. I'm quite certain that the >> problem

Re: Bulk sends to transport getting backed up

2015-04-14 Thread Wietse Venema
Andrew Noonan: > a delivery problem, nor a Postfix or system capacity problem. I tried > turning some knobs with concurrency, but never saw postfix spin up > smtp processes to max out those settings. I'm quite certain that the > problem here is my config, but I'm not sure how to proceed. ... > de

Re: Bulk sends to transport getting backed up

2015-04-14 Thread Viktor Dukhovni
On Tue, Apr 14, 2015 at 01:20:58PM -0500, Andrew Noonan wrote: > I've noticed that at busy times, sends to Gmail in particular get > backed up, causing delays of 10-30 minutes. This was likely happening > before, but with the larger queue sizes, I didn't notice. The systems > are largely idle, a

Bulk sends to transport getting backed up

2015-04-14 Thread Andrew Noonan
Hi all, My company sends a bunch of emails to opt-in users to the tune of about 27 million emails a day, and about 47 million on Saturday (when we send both daily and weekly emails to those that have just requested weekly alerts). This load is spread out over about 30 VMs who each map to a d

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Bill Cole
On 14 Apr 2015, at 13:35, Robert Chalmers wrote: I don’t want/need client sasl support. Just here in the server. smtpd. Which means, in main.cf I put smtpd_sasl_auth_enable=yes smtpd_sasl_type=dovecot Which I have done already. And yet: On 14 Apr 2015, at 11:32, Robert Chalmers wrote: O

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Viktor Dukhovni
On Tue, Apr 14, 2015 at 06:35:31PM +0100, Robert Chalmers wrote: > I don?t want/need client sasl support. Just here in the server. smtpd. > > Which means, in main.cf I put > > smtpd_sasl_auth_enable=yes > smtpd_sasl_type=dovecot And you need to leave these default in place (don't set them expli

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Robert Chalmers
I don’t want/need client sasl support. Just here in the server. smtpd. Which means, in main.cf I put smtpd_sasl_auth_enable=yes smtpd_sasl_type=dovecot Which I have done already. robert > On 14 Apr 2015, at 18:30, Viktor Dukhovni wrote: > > On Tue, Apr 14, 2015 at 11:53:41AM -0400, Bill Col

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Robert Chalmers
Which is why I’m on this mail list. I’ve read the manual. (RTFM) and although I understand the difference in the options shown below, they are shown because they were in the diff file. I’ve read the spots off the SASL_README, and nothing in there is different to what I have configured. Frankl

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Viktor Dukhovni
On Tue, Apr 14, 2015 at 11:53:41AM -0400, Bill Cole wrote: > >< smtp_sasl_type = cyrus > >--- > >>smtp_sasl_type = dovecot > > > > That will never work. > > Again: you need to actually *READ* the SASL_README. Bringing mountain to Muhammad: * Dovecot auth only supports server SASL.

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Bill Cole
On 14 Apr 2015, at 11:32, Robert Chalmers wrote: Ok, to clarify that problem, it’s happening with all builds, 3.0, 3.0.01 and 3.1 postconf -a dovecot postconf -A … nothing postconif -d (defaults) diff with postconf - p (configured) < smtp_sasl_type = cyrus --- smtp_sasl_type = dovecot

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Robert Chalmers
Ok, to clarify that problem, it’s happening with all builds, 3.0, 3.0.01 and 3.1 postconf -a dovecot postconf -A … nothing postconif -d (defaults) diff with postconf - p (configured) < smtp_sasl_type = cyrus --- > smtp_sasl_type = dovecot However as I say, cyrus should not be compiling

Re: I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Bill Cole
On 14 Apr 2015, at 6:42, Robert Chalmers wrote: I built 3.1 with this make line. robert$ make -f Makefile.init dynamicmaps=yes CCARGS='-DUSE_TLS -DHAS_PCRE -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -I/opt/local/include' AUXLIBS='-L/opt/local/lib -lssl -lcrypto' AUXLIBS_PCRE='-L/opt

I'm getting "fatal: SASL library initialization" from 3.1

2015-04-14 Thread Robert Chalmers
I built 3.1 with this make line. robert$ make -f Makefile.init dynamicmaps=yes CCARGS='-DUSE_TLS -DHAS_PCRE -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -I/opt/local/include' AUXLIBS='-L/opt/local/lib -lssl -lcrypto' AUXLIBS_PCRE='-L/opt/local/lib -lpcre' makefiles and the mail.log is

Re: How do I compile 3.0.0 on OS X 10.10.3 with SASL support

2015-04-14 Thread Robert Chalmers
Thank you Viktor. I’m using the first option. "# Dovecot only with Dovecot as default”, and it makes and compiles 3.0.0, and 3.1 with no problems. I can’t believe I had so much trouble getting that line right. Considering I helped add a bit of code way back when to Sendmail many years ago, you w

Re: Please add support for Linux Kernel 4

2015-04-14 Thread Eray Aslan
On Fri, Mar 27, 2015 at 08:56:39AM +0100, hydra wrote: > With Linux Kernel 4.0 around the corner, it would be nice to have the > possibility to compile Postfix on it. Currently it fails: Linux-4.0 has been released on April 12th. No major changes: https://lkml.org/lkml/2015/4/12/178: Official su