On 4 Sep 2010, at 15:32, Neil Bothwick wrote:
On Sat, 4 Sep 2010 12:15:01 +0100, Stroller wrote:

Needed to use:

PORTAGE_ELOG_MAILURI="use...@mydomain.com mymailserver.com"

I've got it without that, Portage 2.1.8.3.

$ grep ELOG /etc/make.conf
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_MAILFROM="port...@hex"
$

Works fine here.

Are you running a mailserver on localhost?

Well, David's problem is SOLVED now, so I'm not sure that it matters, but yes.

I assumed he would also have to be running a sendmail-replacement for the example he gave to work:

echo "testing use...@mydomain.com" | \
mail -s"testing  use...@mydomain.com" use...@mydomain.com

I kinda assumed his problem was that `mail` would provide a valid sender address, whereas the upstream ISP might reject mails from portage with a dodgy from address.

Stroller.


Reply via email to