David Relson writes:
> Having my own domain, I run my own mailserver -- but it's not on my
> gentoo development machine. I read the emerge python code,
> specifically mail.py, to find how PORTAGE_ELOG_MAILURI is handled.
> Reading the code lead me to (finally) realize that I need to have a
> PORTAGE_ELOG_MAILURI value with two (2) fields separated by a space
> character.
There is some documentation in /usr/share/portage/config/make.conf.example:
# PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail
# module. In most cases listing the recipient address and
# the receiving mailserver should be sufficient, but you
can
# also use advanced settings like authentication or TLS.
The
# full syntax is:
# address [[user:pas...@]mailserver[:port]]
# where
# address: recipient address
# user: username for smtp auth (defaults to
none)
# passwd: password for smtp auth (defaults to
none)
# mailserver: smtp server that should be used to
deliver
the mail (defaults to localhost)
# alternatively this can also be a the
path to a
sendmail binary if you don't want to
use smtp
# port: port to use on the given smtp server
(defaults
to 25, values > 100000 indicate that
starttls
should be used on (port-100000))
# Examples:
#PORTAGE_ELOG_MAILURI="r...@localhost localhost" (this is also the default
setting)
#PORTAGE_ELOG_MAILURI="[email protected] mail.some.domain" (sends mails to
[email protected] using the mailserver mail.some.domain)
#PORTAGE_ELOG_MAILURI="[email protected] user:[email protected]:100465"
(this is left uncommented as a reader exercise ;)
Wonko