Bugs item #1007677, was opened at 2004-08-12 03:42
Message generated for change (Comment added) made by ehaase
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450019&aid=1007677&group_id=47611
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Elliot Schwartz (esatmitdotedu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove commas from sender's name in e-mail
Initial Comment:
On my system there are multiple sections to the name
field in /etc/passwd, separated by commas:
elliot:x:1018:1018:Elliot
Schwartz,,,:/home/elliot:/bin/bash
When the e-mail is sent, it includes the commas:
From: Elliot Schwartz,,, <el...@mi...>
I fixed this by changing:
name = pwinfo[4]
to:
name = pwinfo[4].split(",")[0]
But maybe there's a better way to do this using the pwd
library.
----------------------------------------------------------------------
Comment By: Enver Haase (ehaase)
Date: 2005-02-16 00:20
Message:
Logged In: YES
user_id=157422
Same effect here, cvs-syncmail brags out the fields
with phone number etc. otherwise. Patch works for me,
would recommend adding it.
Enver
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450019&aid=1007677&group_id=47611
|