Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 129627
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: jik [...] kamens.us
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



X-Scanned-BY: MIMEDefang 2.84
MIME-Version: 1.0
Dkim-Filter: OpenDKIM Filter v2.11.0 jik4.kamens.us x4KFaFmg019999
X-Spam-Status: No, score=-3.276 tagged_above=-99.9 required=10 tests=[AWL=-2.734, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Language: en-US
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -3.276
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 94FA7240273 for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 12:00:36 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HhD32K09TZqw for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 12:00:35 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id CC77C2401AA for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:00:34 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id C19747C1C2 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:00:33 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 057BD7CF3F for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:00:32 -0700 (PDT)
Received: from jik4.kamens.us (jik4.kamens.us [45.79.160.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 36F3B7C1C2 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:00:30 -0700 (PDT)
Received: from jik5.kamens.us (jik5.kamens.us [146.115.43.199]) (authenticated bits=0) by jik4.kamens.us (8.14.7/8.14.7) with ESMTP id x4KFaFmg019999 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 11:36:16 -0400
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] kamens.us
Delivered-To: cpan-bug+MailTools [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0a1
Subject: Mail::Send fails when using sendmail if there is a period in the message on a line by itself
Return-Path: <jik [...] kamens.us>
X-RT-Mail-Extension: mailtools
X-Original-To: cpan-bug+MailTools [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kamens.us; s=default; t=1558366576; bh=nWb7+R1V0Hh+S+H0Sy8DIuUU9Utr9063YijA8fHHhDc=; h=To:From:Subject:Date:From; b=vdin0OIv8u3Q7Z7pGilf9EqF+DkqZehX3bHvylua032+ir9qPncpa4KS8zJKNCLbW 1IGNuu6yBm3ZmNaA+IMj+PxE26G4uUVTwhjdUSwxDQGfbDDtmm55OHKoBXHpUIZYBy 9Z3+dJP5mgFyHySUbZTdiUaDUFBftakRuHFc/xBM=
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_US_TLD 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
Date: Mon, 20 May 2019 11:36:15 -0400
X-Spam-Level:
X-Greylist: delayed 1454 seconds by postgrey-1.34 at xx1.develooper.com; Mon, 20 May 2019 09:00:31 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.5.20.154816
To: bug-MailTools [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: Jonathan Kamens <jik [...] kamens.us>
X-RT-Original-Encoding: utf-8
X-RT-Interface: Email
Content-Length: 517
Download (untitled) / with headers
text/plain 517b
Since Mail::Send doesn't pass the -oi flag into sendmail when launching it, if the message being fed into MailTools has a period on a line by itself, sendmail will stop reading the message at that point, and the message that ends up being sent will be incomplete. If there is a lot of message after the line containing only a period, then Perl will get an SIGPIPE trying to write the rest of the message to sendmail -- which, remember, has stopped reading and exited -- and silently crash with EPIPE.   jik
MIME-Version: 1.0
In-Reply-To: <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5803-1558369123-1681.129627-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 447
Download (untitled) / with headers
text/plain 447b
On Mon May 20 12:00:38 2019, jik@kamens.us wrote: Show quoted text
> Since Mail::Send doesn't pass the -oi flag into sendmail when launching > it, if the message being fed into MailTools has a period on a line by > itself, sendmail will stop reading the message at that point, and the > message that ends up being sent will be incomplete.
I have clearified the documentation. Do not use MailTools but Mail::Box, which will do the real work automatically.
X-Scanned-BY: MIMEDefang 2.84
Dkim-Filter: OpenDKIM Filter v2.11.0 jik4.kamens.us x4KGLqUX026684
MIME-Version: 1.0
X-Spam-Status: No, score=-3.908 tagged_above=-99.9 required=10 tests=[AWL=0.633, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_OUR_RT=-4, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-5803-1558369123-1587.129627-6-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-129627 [...] rt.cpan.org> <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us> <rt-4.0.18-5803-1558369123-1587.129627-6-0 [...] rt.cpan.org>
Content-Language: en-US
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <17c5bd29-45d0-41a7-22ae-380c0654ba27 [...] kamens.us>
Content-Type: multipart/alternative; boundary="------------494C1D9F96ADC883C3C3830D"
X-Spam-Score: -3.908
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] kamens.us
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 10D15240270 for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 12:22:05 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5eSc660v+mIG for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 12:22:03 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id 3A8832401AA for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:22:03 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 239157CF52 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:22:02 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 56ABA7C1B3 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:22:00 -0700 (PDT)
Received: from jik4.kamens.us (jik4.kamens.us [45.79.160.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 2E6077CF52 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 09:21:53 -0700 (PDT)
Received: from jik5.kamens.us (jik5.kamens.us [146.115.43.199]) (authenticated bits=0) by jik4.kamens.us (8.14.7/8.14.7) with ESMTP id x4KGLqUX026684 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:21:53 -0400
Delivered-To: cpan-bug+MailTools [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #129627] Mail::Send fails when using sendmail if there is a period in the message on a line by itself
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0a1
Return-Path: <jik [...] kamens.us>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kamens.us; s=default; t=1558369313; bh=eYxGQVO2j+YiZMcyQeLLsxdVj6JNHX4gUpRwL6zF5sk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=R1FFsMERI4idFfU0VaWyt+ctGDGkJskM7hehzx8m1ayH13LAy4KyNYyiDZa0QWkMI Y+sIZrm0O52eByBkmRO3oZeC2FHbsa/5KRhTMZopt7w3SSCGXHMezOvza+LXELlLMm YzDYdl2aGhrid7lz5Ps/m0bFvO8Iq6yh44oSg+DY=
X-Original-To: cpan-bug+MailTools [...] hipster.bestpractical.com
X-RT-Mail-Extension: mailtools
Date: Mon, 20 May 2019 12:21:52 -0400
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_US_TLD 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, HREF_LABEL_TEXT_ONLY 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BAT_BOUNDARY 0, __BODY_TEXT_X4 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __COURIER_PHRASE 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HREF_LABEL_TEXT 0, __HREF_LABEL_URI 0, __HTML_AHREF_TAG 0, __HTML_TAG_DIV 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __MULTIPLE_URI_TEXT 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __REFERENCES 0, __SANE_MSGID 0, __SINGLE_URI_MPART_BOTH 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.5.20.160917
To: bug-MailTools [...] rt.cpan.org
From: Jonathan Kamens <jik [...] kamens.us>
RT-Message-ID: <rt-4.0.18-5189-1558369325-292.129627-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: utf-8
Content-Length: 1178
Download (untitled) / with headers
text/plain 1.1k
The script where I had this problem was a legacy script which has been unmodified in many years. When I wrote it MailTools wasn't deprecated. I imagine there are other scripts out there in the same boat. I don't see how Mail::Box is relevant here, since I'm talking about sending messages, not accessing mailboxes, and I don't think Mail::Box sends messages. If your answer to all bug reports is going to be, "Don't use this package," then maybe hand over maintenance of the package to someone who is willing to fix bugs and put out new releases? Yes, that's the sound of me volunteering.   jik On 5/20/19 12:18 PM, Mark Overmeer via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=129627 > > > On Mon May 20 12:00:38 2019, jik@kamens.us wrote:
>> Since Mail::Send doesn't pass the -oi flag into sendmail when launching >> it, if the message being fed into MailTools has a period on a line by >> itself, sendmail will stop reading the message at that point, and the >> message that ends up being sent will be incomplete.
> I have clearified the documentation. Do not use MailTools but Mail::Box, > which will do the real work automatically. > > > > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: utf-8
Content-Length: 1916
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-5189-1558369325-292.129627-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-129627 [...] rt.cpan.org> <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us> <rt-4.0.18-5803-1558369123-1587.129627-6-0 [...] rt.cpan.org> <17c5bd29-45d0-41a7-22ae-380c0654ba27 [...] kamens.us> <rt-4.0.18-5189-1558369325-292.129627-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-28135-1558376539-768.129627-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1709
Download (untitled) / with headers
text/plain 1.6k
On Mon May 20 12:22:05 2019, jik@kamens.us wrote: Show quoted text
> The script where I had this problem was a legacy script which has been > unmodified in many years. When I wrote it MailTools wasn't deprecated. I > imagine there are other scripts out there in the same boat.
The module was not deprecated, but also not used correctly by your code: a sleeping bug. Probably due to poor documentation in Mail::Send (so next release will get a clear warning) Show quoted text
> I don't see how Mail::Box is relevant here, since I'm talking about > sending messages, not accessing mailboxes, and I don't think Mail::Box > sends messages.
Mail::Transfer is part of the MailBox suite, and can be used to send correct emails in a few lines of code. It automatically handles utf8 correctly, and much more. Another alternative are the Email::* modules. Show quoted text
> If your answer to all bug reports is going to be, "Don't use this > package," then maybe hand over maintenance of the package to someone who > is willing to fix bugs and put out new releases? Yes, that's the sound > of me volunteering.
The MailTools modules are in maintained, because it is used in many applications. Many books contain examples using those modules as well. However, it's abstraction is poor, as you have experienced yourself. Implementing better abstraction (for instance escaping dots) in MailTools would be nice, however... there is sooooo much wrong. The first versions predate MIME! I have very bad experiences with "harmless" changes people suggest to these old modules: much of the code where it is used in is very poor as well: even the smallest functional change hurts someone. So: it is DEPRECATED but also MAINTAINED to run on all versions of Perl.
X-Scanned-BY: MIMEDefang 2.84
Dkim-Filter: OpenDKIM Filter v2.11.0 jik4.kamens.us x4KIPf2q009058
MIME-Version: 1.0
X-Spam-Status: No, score=-4.12 tagged_above=-99.9 required=10 tests=[AWL=0.422, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_OUR_RT=-4, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-28135-1558376539-1153.129627-6-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-129627 [...] rt.cpan.org> <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us> <rt-4.0.18-5803-1558369123-1587.129627-6-0 [...] rt.cpan.org> <17c5bd29-45d0-41a7-22ae-380c0654ba27 [...] kamens.us> <rt-4.0.18-5189-1558369325-292.129627-6-0 [...] rt.cpan.org> <rt-4.0.18-28135-1558376539-1153.129627-6-0 [...] rt.cpan.org>
Content-Language: en-US
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <cca317c1-36db-ac96-13c5-5c8b985bb5b3 [...] kamens.us>
content-type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.12
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] kamens.us
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BE2342402D5 for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 14:25:59 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F233lVJPfbS6 for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 14:25:58 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id 44EC72402C6 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 14:25:58 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 15B237C19D for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 11:25:57 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 62BAC7CF53 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 11:25:53 -0700 (PDT)
Received: from jik4.kamens.us (jik4.kamens.us [45.79.160.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 64A677C19D for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 11:25:44 -0700 (PDT)
Received: from jik5.kamens.us (jik5.kamens.us [146.115.43.199]) (authenticated bits=0) by jik4.kamens.us (8.14.7/8.14.7) with ESMTP id x4KIPf2q009058 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 14:25:42 -0400
Delivered-To: cpan-bug+MailTools [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #129627] Mail::Send fails when using sendmail if there is a period in the message on a line by itself
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0a1
Return-Path: <jik [...] kamens.us>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kamens.us; s=default; t=1558376742; bh=K26VMsEPBFDCN+//mbaDhmfDYyOILvqnZ0NvXwEec2g=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ESPsjXYFSZ6NTpzmVg0QCZZmivBlIcbAv7nCQl6C3dYv2KyynR4HSrhbZBhiGTXYb wuqRhQaRqb7f9YMGNLcGx2sDSGI67Xm1CT0goslJtHOHNjF9+peGWvHzN/MyLuMXJz kEyTx3oQjFGSndY+ywUDnCfvJ8Z9mW1vReQAyrH0=
X-Original-To: cpan-bug+MailTools [...] hipster.bestpractical.com
X-RT-Mail-Extension: mailtools
Date: Mon, 20 May 2019 14:25:43 -0400
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_US_TLD 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1900_1999 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __COURIER_PHRASE 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __REFERENCES 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.5.20.181515
To: bug-MailTools [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Jonathan Kamens <jik [...] kamens.us>
RT-Message-ID: <rt-4.0.18-28749-1558376760-331.129627-0-0 [...] rt.cpan.org>
Content-Length: 1890
Download (untitled) / with headers
text/plain 1.8k
Do you mean Mail::Transport? On 5/20/19 2:22 PM, Mark Overmeer via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=129627 > > > On Mon May 20 12:22:05 2019, jik@kamens.us wrote:
>> The script where I had this problem was a legacy script which has been >> unmodified in many years. When I wrote it MailTools wasn't deprecated. I >> imagine there are other scripts out there in the same boat.
> The module was not deprecated, but also not used correctly by your code: a > sleeping bug. Probably due to poor documentation in Mail::Send (so next > release will get a clear warning) >
>> I don't see how Mail::Box is relevant here, since I'm talking about >> sending messages, not accessing mailboxes, and I don't think Mail::Box >> sends messages.
> Mail::Transfer is part of the MailBox suite, and can be used to send correct > emails in a few lines of code. It automatically handles utf8 correctly, and > much more. Another alternative are the Email::* modules. >
>> If your answer to all bug reports is going to be, "Don't use this >> package," then maybe hand over maintenance of the package to someone who >> is willing to fix bugs and put out new releases? Yes, that's the sound >> of me volunteering.
> The MailTools modules are in maintained, because it is used in many > applications. Many books contain examples using those modules as well. > However, it's abstraction is poor, as you have experienced yourself. > Implementing better abstraction (for instance escaping dots) in MailTools > would be nice, however... there is sooooo much wrong. The first versions > predate MIME! > > I have very bad experiences with "harmless" changes people suggest to these > old modules: much of the code where it is used in is very poor as well: even the > smallest functional change hurts someone. > > So: it is DEPRECATED but also MAINTAINED to run on all versions of Perl. >
CC: ;
MIME-Version: 1.0
X-Spam-Status: No, score=-4.839 tagged_above=-99.9 required=10 tests=[AWL=-0.397, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_OUR_RT=-4, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-28749-1558376760-1571.129627-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-129627 [...] rt.cpan.org> <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us> <rt-4.0.18-5803-1558369123-1587.129627-6-0 [...] rt.cpan.org> <17c5bd29-45d0-41a7-22ae-380c0654ba27 [...] kamens.us> <rt-4.0.18-5189-1558369325-292.129627-6-0 [...] rt.cpan.org> <rt-4.0.18-28135-1558376539-1153.129627-6-0 [...] rt.cpan.org> <cca317c1-36db-ac96-13c5-5c8b985bb5b3 [...] kamens.us> <rt-4.0.18-28749-1558376760-1571.129627-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: Debian amavisd-new at nluug.nl
Message-ID: <20190520185957.GN32476 [...] moon.overmeer.net>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.839
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] overmeer.net
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 39BBF2402D9 for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 15:08:04 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ES4mHfc+Teyt for <cpan-bug+MailTools [...] hipster.bestpractical.com>; Mon, 20 May 2019 15:08:01 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id 4EA722402C6 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 15:08:01 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 313EB7CF51 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:08:00 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 3EBB97C0F5 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:07:58 -0700 (PDT)
Received: from vps02.nluug.nl (vps02.nluug.nl [84.22.110.195]) by xx1.develooper.com (Postfix) with ESMTP id 8175B7CF52 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 12:07:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by vps02.nluug.nl (Postfix) with ESMTP id 48AF14547C for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 20:59:58 +0200 (CEST)
Received: from vps02.nluug.nl ([127.0.0.1]) by localhost (vps02.nluug.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6GZDRgLDlBGf for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 20:59:57 +0200 (CEST)
Received: from moon.overmeer.net (095-096-247-248.static.chello.nl [95.96.247.248]) by vps02.nluug.nl (Postfix) with ESMTP id 82F734546E for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 20:59:57 +0200 (CEST)
Received: from moon.overmeer.net (localhost [127.0.0.1]) by moon.overmeer.net (Postfix) with ESMTP id 5C16B60FB3 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 20:59:57 +0200 (CEST)
Received: from moon.overmeer.net (localhost [127.0.0.1]) by moon.overmeer.net (Postfix) with SMTP id 4F72460FB2 for <bug-MailTools [...] rt.cpan.org>; Mon, 20 May 2019 20:59:57 +0200 (CEST)
Delivered-To: cpan-bug+MailTools [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #129627] Mail::Send fails when using sendmail if there is a period in the message on a line by itself
User-Agent: Mutt/1.8.3 (2017-05-23)
Return-Path: <mark [...] nluug.nl>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=overmeer.net; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=home; bh=Xfso/W8r9u7exfockf7qme+AU14=; b=hGOVcuk ndDptdS9wqKrODP0rISUzm50U3Mu0elCWW9XoEQiKMKmvQp/MZAapLXy1oiwQirc PwaAJ09cyQP7Datnt04lfmr78VTsV2o1bBEbtpheNt1vrf6vJyhUCP6S9WYcmnJx lzFzAf9RcQgWHipUsfhnxD7YcwAgaJMn4nqc=
X-Original-To: cpan-bug+MailTools [...] hipster.bestpractical.com
X-RT-Mail-Extension: mailtools
Date: Mon, 20 May 2019 20:59:57 +0200
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' RCVD_FROM_IP_DATE 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_ENDS_IN_URL_NOT_WWW 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, BODY_SIZE_7000_LESS 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, MULTIPLE_REAL_RCPTS 0, REFERENCES 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-Greylist: delayed 467 seconds by postgrey-1.34 at xx1.develooper.com; Mon, 20 May 2019 12:07:48 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.5.20.185416
To: Jonathan Kamens via RT <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <mark [...] nluug.nl>
RT-Message-ID: <rt-4.0.18-28135-1558379284-1858.129627-0-0 [...] rt.cpan.org>
Content-Length: 562
Download (untitled) / with headers
text/plain 562b
* Jonathan Kamens via RT (bug-MailTools@rt.cpan.org) [190520 18:26]: Show quoted text
> Queue: MailTools > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=129627 > > > Do you mean Mail::Transport?
Yes... namespace confusion... sorry -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
MIME-Version: 1.0
In-Reply-To: <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <3071a6bd-3107-7897-cc67-e0b05429d26a [...] kamens.us>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-3879-1563627471-1023.129627-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 54
Documentation improvement was included in release 2.21


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.