Neil Bothwick writes:

> On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote:
> 
>> I can confirm that sending email from the commandline now works:
> 
>> How do I tell portage to simply use the 'mail' command?
> 
> AFAIR there used to be an option for this, but it's not in the docs.
> Have you tried
> 
> PORTAGE_ELOG_MAILURI="user@address localhost"
> 
> Or leave MAILURI unset in which case it will deliver to
> root@localhost.

What about
PORTAGE_ELOG_COMMAND="cat '\${LOGFILE}' | mail -s 'ebuild log for
\${PACKAGE}' user@address"

Doesn't seem to work here, though. Even if I set PORTAGE_ELOG_SYSTEM to
"custom" and PORTAGE_ELOG_COMMAND to an existing script, it is not being
called.

        Wonko

Reply via email to