On Thu, 27 Nov 2025 11:29:01 +0100
Frank Elsner via users <[email protected]> wrote:
> On Thu, 27 Nov 2025 20:41:02 +1030 Tim wrote:
>> Is postfix or sendmail installed?
> Both are not. A self compiled exim is installed and working ok.
>
> /etc/alternatives reads
>
> | #!/bin/sh
> |
> | # Set up paths and alterternatives for self compiled exim
> |
> | /usr/sbin/alternatives \
> | --install /usr/sbin/sendmail mta /usr/exim/bin/exim 10 \
> | --slave /usr/bin/mailq mta-mailq /usr/exim/bin/exim \
> | --slave /usr/bin/runq mta-runq /usr/exim/bin/exim \
> | --slave /usr/bin/rsmtp mta-rsmtp /usr/exim/bin/exim \
> | --slave /usr/bin/rmail mta-rmail /usr/exim/bin/exim \
> | --slave /usr/bin/newaliases mta-newaliases /usr/exim/bin/exim \
> | --slave /usr/lib/sendmail mta-sendmail /usr/exim/bin/exim
> |
> | /usr/sbin/alternatives --set mta /usr/exim/bin/exim
>
> what mail program is used to send the output of cronjobs?
According to "man cron" it is sendmail, thus your alternative should
work.
That said, the unification of /usr/bin and /usr/sbin that was done in F42 may
have broken
that. Verify your mta alternative (ex: alternatives --display mta), redo it if
needed.
You may also see some trace either in the journal or in the exim logs.
Also, Fedora provides exim, that set this in the postinstall scriptlet:
alternatives --install /usr/bin/sendmail mta /usr/bin/sendmail.exim 10 \
--follower /usr/bin/mailq mta-mailq /usr/bin/mailq.exim \
--follower /usr/bin/runq mta-runq /usr/bin/runq.exim \
--follower /usr/bin/rsmtp mta-rsmtp /usr/bin/rsmtp.exim \
--follower /usr/bin/rmail mta-rmail /usr/bin/rmail.exim \
--follower /etc/pam.d/smtp mta-pam /etc/pam.d/exim \
--follower /usr/bin/newaliases mta-newaliases
/usr/bin/newaliases.exim \
--follower /usr/lib/sendmail mta-sendmail /usr/lib/sendmail.exim \
--follower /usr/share/man/man1/mailq.1.gz mta-mailqman
/usr/share/man/man8/exim.8.gz \
--initscript exim
# Make sure that /usr/sbin/sendmail is not missing, if /usr/sbin is a
# directory. The symlink will only be created if there is no symlink
# or file already.
test -h /usr/sbin || ln -s ../bin/sendmail /usr/sbin/sendmail 2>/dev/null || :
Ref: https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
--
francis
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue