pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37139: pkgtools/pbulk report subcomponent should quote recipient's email address



>Number:         37139
>Category:       pkg
>Synopsis:       pkgtools/pbulk report subcomponent should quote recipient's 
>email address
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 17 09:10:00 +0000 2007
>Originator:     Aleksey Cheusov
>Release:        Linux
>Organization:
home
>Environment:
linux
>Description:
pbulk.conf allows to assign both email address of the recipient
and a program which is used for sending notification email.

The problem is that e-mail address is not quoted
while passing to mailing program and therefore real name
is not allowed as a part of recipient. I assume this is a bug.
I prefer to assign both real name and email address,
my mailing program allows it.

This is not too big fix for pbulk, but I already reported it to Joerg privately 
several weeks ago. No success.

>How-To-Repeat:

>Fix:
Index: files/pbulk/scripts/report
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pbulk/files/pbulk/scripts/report,v
retrieving revision 1.5
diff -u -r1.5 report
--- files/pbulk/scripts/report  21 Sep 2007 09:08:08 -0000      1.5
+++ files/pbulk/scripts/report  17 Oct 2007 07:28:34 -0000
@@ -68,7 +68,7 @@
 fi
 
 echo "Sending report mail..."
-cat ${loc}/report.txt | ${mail} -s "${report_subject_prefix} ${platform} 
${build_start_iso}" ${report_recipient}
+cat ${loc}/report.txt | ${mail} -s "${report_subject_prefix} ${platform} 
${build_start_iso}" "${report_recipient}"
 
 cd ${bulklog}
 echo "Uploading report..."




Home | Main Index | Thread Index | Old Index