I am looking to configure a sendmail for portage so it will notify me about whats going on.
I installed mail-mta/opensmtpd package and followed these instrucions:
https://wiki.gentoo.org/wiki/Portage...ing_for_e-mail
i modified these accordingly:
Code:
PORTAGE_ELOG_SYSTEM="mail"
# First the mail-to address, then the SMTP server
PORTAGE_ELOG_MAILURI="my_email@gmail.com /usr/sbin/sendmail"
PORTAGE_ELOG_MAILFROM="portage@$satellite.example.com"
PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} is \${ACTION} on \${HOST}"
now when i emerge for example pciutils, it doesnt send any logs in email.
am i missing something?
P.S "satellite" is my hostname