Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317101 - Can't send mails with mail from mailx because of missing /usr/sbin/sendmail
Summary: Can't send mails with mail from mailx because of missing /usr/sbin/sendmail
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-25 10:52 UTC by Juergen Rose
Modified: 2010-11-01 19:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-04-25 10:52:23 UTC
Sending local mails fails with:
root@condor:/root(83)# mail root@localhost

Subject: test
test
Cc: 
mail: /usr/sbin/sendmail: No such file or directory
Can't send mail: sendmail process failed with error code 1

There is really no /usr/sbin/sendmail but /usr/sbin/sendmail.sendmail:
root@condor:/root(88)# ll /usr/sbin/sendmail*         
-r-xr-s--x 1 root smmsp 716024 Jan  5 23:02 /usr/sbin/sendmail.sendmail*

And sendmail.sendmail is configured as sendmail program /etc/mail/mailer.conf:
root@condor:/root(85)# grep "^sendmail" /etc/mail/mailer.conf 
sendmail        /usr/sbin/sendmail.sendmail

Sendmail is running:
root@condor:/root(84)# /etc/init.d/sendmail status
 * status: started
root@condor:/root(87)# ps -ef | grep sendmail
root     10096 23822  0 12:47 pts/2    00:00:00 grep --colour=auto sendmail
root     19319     1  0 10:29 ?        00:00:00 sendmail: accepting connections                
smmsp    19322     1  0 10:29 ?        00:00:00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue

Why mail want to use /usr/sbin/sendmail and not /usr/sbin/sendmail.sendmail?

Reproducible: Always
Comment 1 Juergen Rose 2010-04-25 11:16:40 UTC
Reemerging mailwrapper and don't accept the changes suggested by dispatch-conf sollved my problem.
 
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-01 19:43:36 UTC
I guess that's a runtime configuration issue, then? If you have suggestions on how to improve how we inform users about that, please reopen.