pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: enabling cyrus-sasl in postfix by default



"Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost> writes:

> Does anyone have objection to adding 'sasl' to PKG_SUGGESTED_OPTIONS in
> mail/postfix/options.mk?  This would add a dependency on cyrus-sasl for
> the default build.

You didn't explain the consequences.

First, cyrus-sasl is 833418 per pkg_add -s on NetBSD 10 amd64.  That's
12.7% of postfix's size, but on a mail server isn't really not that
much, even 10 years ago.

Are you sure that if you enable it, that existing postfix setups
configured to use dovecot, e.g. via

  smtpd_sasl_type = dovecot
  smtpd_sasl_path = private/auth

will continue to work?

Do you believe that if the config doesn't have "smtpd_sasl_type = cyrus"
or whatever, that no cyrus code will run?

If yes, and no code will run, then it seems fine to me.  If enabling it
wil break the use of dovecot auth (which I view as the standard
approach), then I'm opposed.


FWIW, I noted the quoting of "lots of code", and did a quick size on NetBSD 10
amd64:

   text    data     bss     dec     hex filename
   9158       0      40    9198    23ee client.o (ex /usr/pkg/lib/libsasl2.a)
   2028     200       0    2228     8b4 external.o (ex /usr/pkg/lib/libsasl2.a)
   3285       0       0    3285     cd5 saslutil.o (ex /usr/pkg/lib/libsasl2.a)
   1435       0       0    1435     59b seterror.o (ex /usr/pkg/lib/libsasl2.a)
     53       0       0      53      35 sasldb_init.o (ex /usr/pkg/lib/sasl2/libsasldb.a)
  12282     936      72   13290    33ea /usr/pkg/sbin/sasldblistusers2

which almost looks like 7th edition kind of size, not "gigabytes of
buggy code" (which is 25 year old CORBA snark!).


Home | Main Index | Thread Index | Old Index