Package: libmailtools-perl / 2.21-1
Metadata
Package | Version | Patches format |
---|---|---|
libmailtools-perl | 2.21-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
strip extra fields.patch | (download) |
lib/Mail/Internet.pm |
6 6 + 0 - 0 ! |
strip extra fields from /etc/passwd Mail::Internet by default sends a header field which includes the entire 'username' field from /etc/passwd. However, when using 'adduser' to add a user, that field contains more than just the username: it contains a comma-seperated list of fields. In some cases, that list of fields includes, for example, a phone number. Regardless of whether this information is included, the field will have additional commas included. From an email sent by caff (from signing-party): . Sender: "Ari,,," <ari@example.com> . The attached patch is a simple change to the code to make the name field *not* include these commas or other data in the field. . (Later fix) (split /,/, $name)[0] is undefined when $name is the empty string. |
sendmail path.patch | (download) |
lib/Mail/Mailer.pm |
2 1 + 1 - 0 ! |
sendmail path The current code uses /usr/lib/sendmail and then /usr/sbin/sendmail as a fallback. Policy says it should use /usr/sbin/sendmail. |
1