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

Bug 16852

Summary: cron ebuilds need "mail" command
Product: Gentoo Linux Reporter: Gregorio Guidi (RETIRED) <greg_g>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal CC: agriffis, mr_bones_
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gregorio Guidi (RETIRED) gentoo-dev 2003-03-04 15:31:47 UTC
all cron ebuilds in portage depend on virtual/mta, but they try to send mails with 
the "mail" command, which is not supposed to be there. 
This can lead to no mail sent. 
 
shouldn't they depend on net-mail/mailx instead? 
 

Reproducible: Always
Steps to Reproduce:
Comment 1 Thorsten Kampe 2003-07-07 12:09:52 UTC
No, they depend on ssmtp, so you have to edit ssmtp.conf ("mailhub=mail:25" is the default - and the error message)

"Command output [...]can be turned off and no mail will be sent at all          (SysV can't do this either)."
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-04-07 15:14:19 UTC
At least vixie-cron uses /usr/lib/sendmail to send mail, which should be provided by virtual/mta (whether it is configured is another matter).  This bug needs to name actual packages to receive attention.  Please re-open if you can provide the necessary details.