Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125223 - Portage ELOG mailing module is broken
Summary: Portage ELOG mailing module is broken
Status: RESOLVED DUPLICATE of bug 116637
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 05:15 UTC by Tobias Klausmann (RETIRED)
Modified: 2006-03-06 08:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2006-03-06 05:15:08 UTC
I've noticed that Portage's elog module for mailing is very simplistic when it comes to headers and envelope addresses. First, it sets neither From: nor To: and it is entirely hardcoded, when it comes to the Envelope-From ("portage"). What's worse, the hardcoded default is broken: it contains *no* domain name.

While this way of doing things might work on local systems where you can relay everything you get via 127.0.0.1, using mod_mail.py on multiple systems which all mail via a central hub, things get messy. In its default configuration, for example, exim will refuse those messages (for the reasons outlined above).

What's worse: The mail usually contains *no* hint besides the Received: headers from which machine it comes.

I don't know if a better mod_mail.py is in the works, but if not, I can see whether I can put something together that works better - but it might need additional configuration vars in /etc/make.conf.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-06 08:26:50 UTC

*** This bug has been marked as a duplicate of 116637 ***