Re: courier-imap & Debian manpages | Re: New releases of courier, courier-imap, and maildrop packages

Sam Varshavchik <[email protected]> Wed, 24 Jul 2024 20:42:41 -0400
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
datenritter writes:

> Hi!
>
>  From https://www.courier-mta.org/install.html:
>
> "You will have to configure your man command to look for manual pages in  
> /usr/lib/courier/man by adding this directory to the MANPATH environment  
> variable. (...) The Courier mail server's RPM and DEB packages install a  
> script that automatically implements that."
>
> - Looks to me like it shouldn't do that:
>
> # manpath
> manpath: Warnung: $MANPATH ist gesetzt, ignoriere /etc/manpath.config
> /usr/lib/courier-imap/man
>
> With this set none except the courier manpages are available.
>
> Package courier-imap contains two scripts:
>
> /etc/profile.d/courier-imap.csh
> /etc/profile.d/courier-imap.sh
>
> I removed them and unset MANPATH to regain access to the common manpages.
>
> I believe what the package should do instead is to add a line to  
> /etc/manpath.config:
>
>   MANDATORY_MANPATH                        /usr/lib/courier-imap/man

I did some testing, and it appears that it should be sufficient to remove  
MANPATH altogether.

The man command is smart enough to go through path and find a man directory  
in the near vicinity. Having courier.sh/courier.csh add /usr/lib/courier/bin  
to PATH is sufficient. I uploaded courier-imap-5.2.7.20240724.tar.bz2 with  
this change.

_______________________________________________
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-----

iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCZqGfggAKCRCKYPgoojZS
4mQ7AQCR35qJIc4fP1aiSGIxHemX+HBmnnH4hcppsqBH6DlqtAD+Kwcff+UdSjoI
mBINy5GcLflxQgmIZ50EnCMFBg1TGAY=
=sRi/
-----END PGP SIGNATURE-----