* [gentoo-user] Need help configuribng PORTAGE_ELOG_MAILURI
@ 2007-09-06 13:56 99% Michael Sullivan
0 siblings, 0 replies; 1+ results
From: Michael Sullivan @ 2007-09-06 13:56 UTC (permalink / raw
To: gentoo-user
I have a small LAN with three PCs. One PC runs exim, but the other two
use ssmtp. On the two that don't use exim I frequently see errors
similar to the following when portage tries to send mail:
camille etc # glsa-check -m 200610-14
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
File "/usr/lib/portage/pym/portage_mail.py", line 87, in send_mail
raise portage_exception.PortageException("!!! A network error
occured while trying to send logmail:\n"+str(e)+"\nSure you configured
PORTAGE_ELOG_MAILURI correctly?")
portage_exception.PortageException: !!! A network error occured while
trying to send logmail:
(111, 'Connection refused')
Sure you configured PORTAGE_ELOG_MAILURI correctly?
Here's my make.conf:
camille etc # cat /etc/make.conf
# These settings were set by the catalyst build script that
automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="asterisk dbus ctype session zaptel ivtv kerberos gphoto2 pcre
mode-owner -firefox seamonkey -mozilla candy apache2 oss apm alsa arts
avi berkdb bitmap-fonts cdr crypt cups doc encode fortran f77 foomaticdb
gdbm gif gpm gnome gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad
mikmod motif mpeg ncurses nls oggvorbis pam pdf lib png ppds python qt
quicktime readline samba sasl sdl threads nntp spell ssl svga tcltk tcpd
truetype usb X xml xml2 xmms xv zlib x86 imap offensive java mysql
examples mmx mmx2 perl divx4linux real mmxext audiofile nas snmp hal
unicode guile slp tidy dvd dvdr dvdread flash glut new-login
browserplugin nsplugin bzip2 win32codecs v4l v4l2 ruby sql lirc mythtv
dvb ffmpeg userlocales php -debug jack jack-tempfs portaudio
bash-completion bind-mysql joystick cli cgi ftp dba nptl nptlonly
libclamav syslog jikes mpm-leader ithreads nautilus tcl expat"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
FEATURES="keepwork nostrip buildpkg fixpackages parallel-fetch
-collision-protect emerge -va1 $(qfile -qC /usr/lib/cups /etc/cups | sed
"s:net-print/cups$::")
"
PKGDIR=/usr/portage-packages/camille
ALSA_CARDS="hda-intel"
PORT_LOGDIR="/var/log/portage-logs"
PORTDIR_OVERLAY="/usr/local/portage"
#PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/berkano-overlay"
LINGUAS="en fr es"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILFROM="root@espersunited.com"
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
#PORTAGE_ELOG_MAILURI="root@smtp.espersunited.com
root:CENSORED@smtp.espersunited.com:25"
Here's my /etc/ssmtp/revaliases:
camille etc # cat /etc/ssmtp/revaliases
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:your_login@your.domain:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.
#
michael:michael@camille.espersunited.com:baby.espersunited.com
root:root@camille.espersunited.com:baby.espersunited.com
postmaster:root@camille.espersunited.com:baby.espersunited.com
portage:root@camille.espersunited.com:baby.espersunited.com
And my ssmtp.conf:
camille etc # cat /etc/ssmtp/ssmtp.conf
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster@baby.espersunited.com
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named
mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so
named.
mailhub=baby.espersunited.com
# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465
# Where will the mail seem to come from?
rewriteDomain=camille.espersunited.com
# The full hostname
camille.espersunited.com
# Gentoo bug #47562
# Commenting the following line will force ssmtp to figure
# out the hostname itself.
#hostname=<username>@camille.espersunited.com
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
# Use SSL/TLS to send secure messages to server.
#UseTLS=YES
# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES
# Use this RSA certificate.
#TLSCert=/etc/ssl/certs/ssmtp.pem
What am I doing wrong?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-09-06 13:56 99% [gentoo-user] Need help configuribng PORTAGE_ELOG_MAILURI Michael Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox