Date: Tue, 16 Apr 2024 13:01:59 +0100 From: Lexi Winter <lexi@le-fay.org> To: Chris <bsd-lists@bsdforge.com> Cc: pkgbase@freebsd.org Subject: Re: mailwrapper * Message-ID: <Zh5otxCWobs0cYqO@ilythia.eden.le-fay.org> In-Reply-To: <333569ac5ddd2549c026c97dfcc376a8@bsdforge.com> References: <Zh2AyxODwlAE9hT1@ilythia.eden.le-fay.org> <333569ac5ddd2549c026c97dfcc376a8@bsdforge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--zLhoZO+gMTN4GWIf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Chris: > As I read it, and use it; mailwrapper(8) simply *assumes* that there > is *some* default (based on available options) MTA already installed, > and points to it as needed. The sendmail/dma stuff is there as a > system isn't really complete if one can't send mail. How had you > intended to improve the process? right: if you have mailwrapper, you also need an MTA. but the situation here is if you have an MTA and *don't* have mailwrapper, i.e. you build src WITHOUT_MAILWRAPPER. in that case -- if i'm reading the Makefile correctly -- the build process will create a symlink from 'mailwrapper' to either dma or sendmail binary, so it appears to consumers that mailwrapper is installed even though it's not; trying to use it simply calls the MTA directly. my proposal is to remove this functionality, i.e. the special handling of the WITHOUT_MAILWRAPPER case, to simplify the Makefile and make it less confusing to pkgbase-ify mailwrapper into its own package. this functionality was modified for DMA in 3467e28f [0] in 2022, but was originally added for sendmail in 2632dac8 [1], way back in 2002. i assume the use-case was people who wanted to use sendmail but didn't want to install mailwrapper for some reason, but nowadays, i would be surprised if anyone is still doing this. [0] https://cgit.freebsd.org/src/commit/?id=3467e28f3d114f35bdfa87d6afd373f9d291dfb3 [1] https://cgit.freebsd.org/src/commit/?id=2632dac82984593a7be37bafc570a93f82270249 --zLhoZO+gMTN4GWIf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYeaLQACgkQDHqbqZ41 x5kUywwAijcHmqknC6p6BZztjfzM3A2JmArWldNoa7R5Z7Wj4TTNGWxAJt5IaQkX RKjiyWw52CeKjh6ddng24efz/Mb1lZccL5d9A/uMWXhxFCdagEPvvMYJ2ZzMot+B 75TFg2zCUOiOQUpTDBxxGR3Vct8Ekk4+jlrbL2Zu/aGKFBl9K7HY7xD8sj5zzuNM 2ghfJnRph2GTXkJlZ70sWV6dkrlsTvtBlwjigygr2ybqUDPtZM+v7vigiPF1hJLT Y4YNjh1GOL1J97yQ2XntjWvE0SgSudEa3DdXwDDBBqZn2Xoc06xtpsVw3t69/RfH WdPHo6Id/xcuoq9hBxYx7oZLuRLCILervz5CWhNzVITJE67IFkuPNS38PcVgOf1d +ybM3Yo2zhegWb0zVIMEQkB+RpievTEaOF+8Kz7cJJZCuYyXxJdTDtI8MpNwQjYw rXcEx8/LOhaL01NQqpkj9CYPv1CBx6mSQSpAHLZgH76EvxK5JlAQo9Z0hyw/8OSi PvbuMyzd =fjeC -----END PGP SIGNATURE----- --zLhoZO+gMTN4GWIf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zh5otxCWobs0cYqO>