Created attachment 242148 [details] Fix SASL options With 60ba31d73e SASL_NONE_CONFIGURE_WITH however with it unchecked --without-sasl was added. Always disabling sasl no matter the sasl option selected. Use OPT_CONFIGURE_OFF and OPT_CONFIGURE_ON to make sure --without-sasl isn't added when SASL_NONE is unchecked. portlint: ok. 1 expected warning. multi patch testport: ok. 13amd64. Building default options we get: ... --with-sasl=/usr/local --without-gsasl ... and mutt -v: ... +USE_SASL -USE_GSASL ... Building with GSASL we get: ... --without-sasl --with-gsasl=/usr/local ... and mutt -v: ... -USE_SASL +USE_GSASL ... Building with NONE we get: ... --without-sasl --without-gsasl --with-sasl=no ... and mutt -v: ... -USE_SASL -USE_GSASL ...
Kurt, can you test this attached patch?
Seems to work -- that is, with that one SMTP server, authentication succeeds and sending a message works.
Thanks.
Would you like this change to be merged into the quarterly branch?
I don't beleive it would apply to 2023Q2. It would need the previous commit as well. So I think don't need to apply it there.
Thanks. Will not MFH.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=37e65e1ec393e94d95f9285501fb9208d475c0cf commit 37e65e1ec393e94d95f9285501fb9208d475c0cf Author: Derek Schrock <dereks@lifeofadishwasher.com> AuthorDate: 2023-05-13 20:14:46 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-05-18 08:19:52 +0000 mail/mutt: Fix SASL option to not always disable SASL With 60ba31d73e SASL_NONE_CONFIGURE_WITH however with it unchecked --without-sasl was added. Always disabling sasl. Use OPT_CONFIGURE_OFF and OPT_CONFIGURE_ON to make sure --without-sasl isn't added when SASL_NONE is unchecked. PR: 271395 Approved by: kh@panix.com (maintainer) mail/mutt/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Thank you for your submission.