Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150443

Summary: sys-apps/portage-2.1.3.9: PORTAGE_ELOG_MAILFROM needs domain
Product: Portage Development Reporter: Toralf Förster <toralf>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: trivial CC: charlie.page
Priority: High Keywords: InVCS
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 194041    

Description Toralf Förster gentoo-dev 2006-10-08 01:57:50 UTC
Specifying PORTAGE_ELOG_MAILFROM="root" at my system results in:

>>> Regenerating /etc/ld.so.cache...
>>> net-misc/neon-0.26.1-r1 merged.
"!!! An error occured while trying to send logmail:\n(553, '5.5.4 <root>... Domain name required for sender address root', 'root')"
>>> Recording net-misc/neon in "world" favorites file...

whereas the definition PORTAGE_ELOG_MAILFROM="root@localhost" works. What about appending "@localhost" automatically if no domain was specified ?

(BTW the implementation of the ELOG feature to mail such things is one of the best ideas of the Gentoo devs in the last time IMHO - thanks.)
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2007-01-10 03:49:49 UTC
This may be fixed in portage-2.1.2, please check with that version and report back.
Comment 2 Toralf Förster gentoo-dev 2007-02-11 10:22:30 UTC
Same issue : 
!!! An error occured while trying to send logmail:
(553, '5.5.4 <root>... Domain name required for sender address root', 'root')

n22 / # emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sun, 11 Feb 2007 09:20:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri fastbuild fortran gdbm iconv ipv6 isdnlog javascript libg++ logrotate midi mmx mmxext mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl sse sse2 ssl tcpd udev unicode userlocales x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 3 Toralf Förster gentoo-dev 2007-10-06 14:06:29 UTC
Even w/ sys-apps/portage-2.1.3.9 the issue isn't fixed :-(
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-10-06 15:16:05 UTC
Sorry, had completely forgotten about this. I changed the default MAILFROM to portage@localhost now.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 21:12:45 UTC
*** Bug 195892 has been marked as a duplicate of this bug. ***
Comment 6 Zac Medico gentoo-dev 2007-10-14 21:46:54 UTC
This has been released in 2.1.3.13.