Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144239

Summary: mail-client/mailx needs net-mail/mailwrapper to send email when USE=mailwrapper
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgi Georgiev 2006-08-17 12:35:40 UTC
Steps to reproduce:

1. emerge -C mailwrapper
2. emerge mailx
2.5. USE=mailwrapper emerge virtual/mta
3. echo Test | mail -s Subject someone@example.com

Actual results:
mail: /usr/sbin/sendmail: No such file or directory
Can't send mail: sendmail process failed

Expected results:
No error
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 12:44:53 UTC
mailx has no mailwrapper USE flag; that flag is for MTAs only. Either the MTA supports USE=mailwrapper and then it RDEPENDs on it, or it doesn't and then it will install /usr/sbin/sendmail. 

Your steps to reproduce don't make sense.
Comment 2 Georgi Georgiev 2006-08-17 13:11:06 UTC
My bad. It was a problem with an outdated qmail that I had prevented from upgrading. So there was nothing to pull the mailwrapper dependency.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-18 03:51:56 UTC
OK, closing. Thanks for reporting back.