All current versions of mail-mta/nullmailer contain these lines in RDEPEND: !mail-mta/msmtp !mail-mta/ssmtp These two packages have an mta use flag (at least in recent versions). When unset in makes them not emulate Sendmail, allowing another package to do that. To contrast, this is what the latest stable version of mail-mta/sendmail has: !mail-mta/msmtp[mta] !<mail-mta/ssmtp-2.64-r2 !>=mail-mta/ssmtp-2.64-r2[mta] Please consider if something like this is also possible for mail-mta/nullmailer. This makes the following use case possible: delivering mail from Cron etc. to the system mbox's with a no-nonsense MTA like nullmailer while users can send their personal mail through the SMTP server of their mail provider with msmtp or ssmtp.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c1f8418e70e3c9050942653e385da982ab2ced commit 24c1f8418e70e3c9050942653e385da982ab2ced Author: Michael Haubenwallner <haubi@gentoo.org> AuthorDate: 2019-02-26 16:37:46 +0000 Commit: Michael Haubenwallner <haubi@gentoo.org> CommitDate: 2019-04-01 08:14:04 +0000 mail-mta/nullmailer: revbump and more Revbump, EAPI 7, add myself as maintainer. Closes: https://bugs.gentoo.org/654124 Add ~arm keyword. Closes: https://bugs.gentoo.org/664514 Fix permission for /var/spool/nullmailer/failed, credits to John R. Graham. Closes: https://bugs.gentoo.org/622738 Keep dir /var/spool/nullmailer/failed. Closes: https://bugs.gentoo.org/651288 No not depend on sys-apps/groff. Closes: https://bugs.gentoo.org/604316 Tell if 'emerge --config' gets empty FQDN or domainname, and remind to tweak /etc/nullmailer/remotes. Closes: https://bugs.gentoo.org/668104 Block with USE=mta against msmtp,opensmtpd,ssmtp. Closes: https://bugs.gentoo.org/631654 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> mail-mta/nullmailer/Manifest | 1 + mail-mta/nullmailer/metadata.xml | 4 + mail-mta/nullmailer/nullmailer-2.2.ebuild | 148 ++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+)