Re: Invalid option: -noidentlookup

Sam Varshavchik <[email protected]> Fri, 20 Dec 2024 21:57:35 -0500
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
Erich Eckner writes:

> Hi,
>
> I recently updated my courier installation from version 1.3.5 to 1.3.13:
>
> [2024-12-20T23:02:08+0100] [ALPM] upgraded courier-unicode (2.2.6-14 ->  
> 2.3.1-1)
> [2024-12-20T23:02:09+0100] [ALPM] upgraded courier-authlib (0.72.0-25 ->  
> 0.72.3-2)
> [2024-12-20T23:02:10+0100] [ALPM] upgraded courier-mta (1.3.5-18 -> 1.3.13-5)
>
> after which, I was greeted with the following error:
>
> esmtpd-ssl[667891]: /usr/bin/couriertcpd: Invalid option: -noidentlookup
>
> which was easy to fix: remove all mentions of this option from the configs.  
> However, I noticed, that it is still part of the documentation in the config  
> files. So I was wondering, whether this option is really gone and the  
> documentation should be updated (or maybe it was, and just my installation  
> discarded it?) or whether I did something different when compiling and it is  
> only removed in my build? However, I didn't really change anything about how  
> I build courier - besided bumping the version:
>
> https://git.eckner.net/Erich/archlinuxewe/tree/courier-mta/PKGBUILD
>
> Maybe someone can shed some light on it, please?

A courier package should be running sysconftool as part of installing a new  
or an updated package.

A manual installation process involves running "make install-configure",  
this is documented in INSTALL:

https://www.courier-mta.org/install.html#installconfigure

This runs the sysconftool script. If you're creating an installable package,  
instead of installing things manually, the installable package should do the  
same.

This option was removed from courier/module.esmtp/esmtpd.dist.in.git in the  
git repo, and you will find this option removed from  
courier/module.esmtp/esmtpd.dist.in

After installing an updated version, running sysconftool should update the  
installed configuration file and reset the relevant configuration setting to  
its default value (if it was modified with any custom options they'll have  
to be redone).

_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCZ2YunwAKCRCKYPgoojZS
4t8sAP9/rboOY9MPSM9XsOJ2DkATTRjcEYKAqCw03A8BARlP+gD/V7YkNfCrVeJK
hhxAWMitnYKD8bBLzWP7oJ7WCaP2FQg=
=qWql
-----END PGP SIGNATURE-----