Uncategorized

Get portage emails from your system

This is a great tip a friend gave me the other day. The elog summary is great to get some of the warning messages and instructions, but you can have those email to you, and get more information! This is extremely simple.. and can really save some time debugging a emerge. Simply add this to your /etc/make.conf file


PORTAGE_ELOG_MAILFROM="portage@yourdomain.com"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILURI="portage@yourdomain.com localhost"

Obviously change the portage@yourdomain.com to your logging email account, and you’ll get nice portage messages.

This is a great tip a friend gave me the other day. The elog summary is great to get some of the warning messages and instructions, but you can have those email to you, and get more information! This is extremely simple.. and can really save some time debugging a emerge. Simply add this to your /etc/make.conf file


PORTAGE_ELOG_MAILFROM="portage@yourdomain.com"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILURI="portage@yourdomain.com localhost"

Obviously change the portage@yourdomain.com to your logging email account, and you’ll get nice portage messages.