Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79186 Details for
Bug 116637
elog can-t send email thru common smtp...
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Added setting PORTAGE_ELOG_MAILFROM to both return-path and from field
mod_mail2.patch (text/plain), 1.08 KB, created by
Bo Ørsted Andresen (RETIRED)
on 2006-02-07 18:53:52 UTC
(
hide
)
Description:
Added setting PORTAGE_ELOG_MAILFROM to both return-path and from field
Filename:
MIME Type:
Creator:
Bo Ørsted Andresen (RETIRED)
Created:
2006-02-07 18:53:52 UTC
Size:
1.08 KB
patch
obsolete
>diff -uNr portage-2.1_pre4/pym/elog_modules/mod_mail.py portage-2.1_pre4-r1/pym/elog_modules/mod_mail.py >--- portage-2.1_pre4/pym/elog_modules/mod_mail.py 2006-01-28 01:49:48.000000000 +0100 >+++ portage-2.1_pre4-r1/pym/elog_modules/mod_mail.py 2006-02-08 03:35:04.000000000 +0100 >@@ -33,7 +33,7 @@ > myrecipient = mysettings["PORTAGE_ELOG_MAILURI"] > try: > mymessage = email.Message.Message() >- mymessage.set_unixfrom("portage") >+ mymessage.set_unixfrom(mysettings["PORTAGE_ELOG_MAILFROM"]) > mymessage.set_payload(fulltext) > mymessage["To"] = myrecipient > mymessage["Subject"] = "[portage] Ebuild log for %s" % cpv >@@ -45,7 +45,7 @@ > myconn = smtplib.SMTP(mymailhost, mymailport) > if mymailuser != "" and mymailpasswd != "": > myconn.login(mymailuser, mymailpasswd) >- myconn.sendmail("portage", myrecipient, mymessage.as_string()) >+ myconn.sendmail(mysettings["PORTAGE_ELOG_MAILFROM"], myrecipient, mymessage.as_string()) > myconn.quit() > except smtplib.SMTPException, e: > raise portage_exception.PortageException("!!! An error occured while trying to send logmail:\n"+str(e))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 116637
:
75462
| 79186 |
82030