Re: After upgrade to F42, mutt + postfix no longer able to send email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Todd,

Thanks very  much for this!

On Wed Jun11'25 09:09:52PM, Todd Zullinger wrote:
> From: Todd Zullinger <tmz@xxxxxxxxx>
> Date: Wed, 11 Jun 2025 21:09:52 -0400
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: After upgrade to F42, mutt + postfix no longer able to send
>  email
> 
> Ranjan Maitra via users wrote:
> >> After an upgrade to F42, I am no longer able to send
> >> email. When I press "send on mutt" after composing, I get
> >>
> >> Error sending message, child exited 127 (Exec error.).
> >>
> >> Any suggestions on what the error could be?
> >
> > I wanted to add that I upgraded using dnf system-upgrade
> > plugin.
> >
> > My /etc/postfix/main.cf is carried over from F41 (and
> > before).
> 
> There were issues for many folks with the merge of bin and
> sbin.  The result is that binaries aren't found as they
> should be.
> 
> Mutt's default for $sendmail uses /usr/sbin/sendmail.  You
> can check the value in your mutt, via `:set ?sendmail` and
> then verify the path exists.  It is likely a symlink to
> /etc/alternatives/mta which is then a symlink to something
> like /usr/sbin/sendmail.postfix.
> 
> I just installed postfix and mutt in a Fedorda 42 container
> and mutt reports: sendmail="usr/bin/sendmail -oem -oi" which
> seems to be entirely broken.  You may have to set that
> manually in your muttrc in addition to fixing the symlinks
> to the sendmail binary, if they're broken.

So, for me, on the F41 machine which does not report an issue, I get: 

 $ ll /etc/alternatives/mta-sendmail
 lrwxrwxrwx. 1 root root 25 Apr 26 14:25 /etc/alternatives/mta-sendmail -> /usr/lib/sendmail.postfix*

 $ ll /usr/lib/sendmail.postfix
 lrwxrwxrwx. 1 root root 24 Jul 24  2024 /usr/lib/sendmail.postfix -> ../sbin/sendmail.postfix*

On the F42 machine, where I get that error, I have 

 $ ll /etc/alternatives/mta-sendmail 
 lrwxrwxrwx. 1 root root 25 Feb  6  2023 /etc/alternatives/mta-sendmail -> /usr/lib/sendmail.postfix*


 $ ll /usr/lib/sendmail.postfix*
 lrwxrwxrwx. 1 root root 23 May  8 19:00 /usr/lib/sendmail.postfix -> ../bin/sendmail.postfix*

So, sbin to bin. 

Interestingly, the F42 machine has:
 $ locate sendmail.postfix
 /usr/bin/sendmail.postfix
 /usr/lib/sendmail.postfix
 /usr/sbin/sendmail.postfix

with the /usr/bin/sendmail.postfix pointing to its sbin cousin.

The F41 machine is simpler:

 $ locate sendmail.postfix
 /usr/lib/sendmail.postfix
 /usr/sbin/sendmail.postfix

One thing to note is that rpmconf -a reports a differenced main.cf and I did not install it because I wanted to keep my current one.  There is a merge option, but I am not sure what the following means:

 Your choice: M
 You did not select any frontend for merge.
      Define it with environment variable 'MERGE' or flag -f.

I don't know if that makes a difference, but I do note that one of the changes there is in the path: 

< command_directory = /usr/bin (for my default) ---
> command_directory = /usr/sbin (for the suggested main.cf.rpmnew)

I tried changing this in my /etc/postfix/main.cf to the latter version but it did not make a difference.

Thanks again!

Best wishes,
Ranjan


-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux