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,,, <elliot@mit.edu>
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.
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
I submitted the same solution as a patch here: https://sourceforge.net/tracker/?func=detail&aid=3512485&group_id=47611&atid=450021