Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 16939
Status: new
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: ntyni [...] iki.fi
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 3.01
  • 3.01_05
Fixed in: (no value)



Subject: sendmail '-f' should be called with just the mailbox name
Hi, send_by_sendmail() currently calls the sendmail program with '-f$from_addr', where $from_addr can contain the full address (as in "Name <address@somewhere>") rather than just the mailbox name (as in 'address@somewhere'). The real sendmail is fine with this and digs out only the mailbox name, but some variants (apparently at least qmail) aren't. Since the '-f' argument is used in the reverse-path header/"envelope from"-field, and that can only contain a mailbox name, it would make sense to call sendmail with only the mailbox name. This bug was originally reported as Debian bug #173627, http://bugs.debian.org/173627 , but was apparently never forwarded to CPAN. The Debian version of MIME::Lite has had this fixed for almost two years now. I'm attaching a trivial patch against 3.01_05. (Note that 3.01_05 has two typos a bit earlier in the same code path: UNIVERAL::isa should naturally be UNIVERSAL::isa) Cheers, -- Niko Tyni ntyni@iki.fi
Download ml-patch
application/octet-stream 479b

Message body not shown because it is not plain text.