Page MenuHomeFreeBSD

check/delete-old: Fix /bin/rmail removal condition
ClosedPublic

Authored by dchagin on Jul 21 2022, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 11, 6:24 AM
Unknown Object (File)
Sun, Feb 8, 4:37 AM
Unknown Object (File)
Sun, Feb 8, 12:03 AM
Unknown Object (File)
Sat, Jan 31, 11:03 AM
Unknown Object (File)
Jan 14 2026, 10:56 AM
Unknown Object (File)
Dec 20 2025, 3:34 PM
Unknown Object (File)
Dec 18 2025, 2:17 AM
Unknown Object (File)
Dec 17 2025, 3:57 AM
Subscribers

Details

Summary

When WITHOUT_SENDMAIL is enabled and WITHOUT_MAILWRAPPER is disabled
we install /bin/rmail as a link to the /usr/sbin/mailwrapper.
Ensure make delete-old does not unlink /bin/rmail in that case.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

corresponding case in usr.sbin/mailwrapper/Makefile

.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
SYMLINKS+=      ..${BINDIR}/mailwrapper /bin/rmail
.endif
This revision is now accepted and ready to land.Jul 21 2022, 4:26 PM