>>>>> On April 4, 2026 Marvin Renich via Postfix-users 
>>>>> <[email protected]> wrote:

> The postfix package appears to have been removed from Debian testing,
> but both stable and unstable packages have:
>
> Depends:  libsasl2-2
> Suggests:  libsasl2-modules | dovecot-common
>
> And libsasl2-2 (both stable and unstable) has:
>
> Depends: libsasl2-modules-db
> Recommends: libsasl2-modules
>
> So libsasl2-modules is not a hard dependency of postfix (unless I
> missed some other dependency chain), but it is installed by default,
> unless you have specified --no-install-recommends.

Hi Marvin,

Thank you for your reply.. that matches what I see.

I had not realized recommends were installed by default.. I was
wondering how those and suggests differed but hadn't gotten to looking
it up yet.

I had not used --no-install-recommends, simply 'apt install postfix'
and libsasl2-modules was not installed.

Looking at /var/log/apt/history.log, I see:

| Start-Date: 2026-03-20  22:30:11
| Commandline: apt install postfix
| Requested-By: greg
| Install: ssl-cert:amd64 (1.1.3, automatic), postfix-lmdb:amd64 (3.11.0-4, 
automatic),
|  libcdb1:amd64 (0.81-2+b1, automatic), libicu78:amd64 (78.2-2, automatic),
|  postfix-cdb:amd64 (3.11.0-4, automatic), postfix:amd64 (3.11.0-4),
|  libtlsrpt0:amd64 (0.5.0.-1, automatic)
| Remove: exim4-config:amd64 (4.99.1-1), exim4-base:amd64 (4.99.1-1),
|  exim4-daemon-light:amd64 (4.99.1-1)
| End-Date: 2026-03-20  22:30:22

The following day, it shows that I ran 'apt upgrade' and libsasl2-2
was upgraded, but not libsasl2-modules (which appears to have matching
versioning).

I have to conclude that libsasl2-2 must have already been installed,
without libsasl2-modules, when I installed postfix.

Does that make sense?  Since it was not installing libsasl2-2, the
recommends: libsasl2-modules was not considered, only the postfix
package suggests: libsasl2-modules.

Maybe it would make sense for postfix to directly recommend: rather
than suggest: libsasl2-modules?

Greg
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to