Skip Menu |

This queue is for tickets about the Mail-VRFY CPAN distribution.

Report information
The Basics
Id: 43474
Status: resolved
Priority: 0/
Queue: Mail-VRFY

People
Owner: Nobody in particular
Requestors: ksmith [...] firesnacks.com
Cc:
AdminCc:

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



Subject: Bug in Mail::VRFY.pm 0.57
Date: Fri, 20 Feb 2009 11:37:57 -0500
To: <bug-Mail-VRFY [...] rt.cpan.org>
From: "Keith Smith" <ksmith [...] firesnacks.com>
VERSION INFO: # Mail::VRFY.pm # $Id: VRFY.pm,v 0.57 2007/05/04 13:16:52 jkister Exp $ # Copyright (c) 2004-2007 Jeremy Kister. # Released under Perl's Artistic License. PROBLEM: When doing "extended" email address tests, some mail gateways reject all recipient checks when the MAIL FROM field is empty. I have confirmed this on the following email addresses: @rbcdexia-is.com @Tridel.com @rjsinvestments.com WORKAROUND: I hacked your package to simply use the email address to be tested (RCPT TO) as the MAIL FROM address. In all three cases this worked and returned a 0 value (success). Ideally, there should be a way to pass in a second email address for this purpose, however simulating the sender sending to him/her self is a quick fix. Hopefully, it doesn't cause other mail gateways any grief. Thanks Keith Show quoted text
________________________________ Keith Smith P.Eng., M.A.Sc. Firesnacks Inc. 68 - 2369 Kingston Road Toronto, ON M1N 1V1 Canada 416.264.6661 x. 111 / Fax: 416.264.4667 1.888.363.3473 (Toll Free Outside Toronto) www.firesnacks.com <http://www.firesnacks.com/>
Show quoted text
> When doing "extended" email address tests, some mail gateways reject all > recipient checks when the MAIL FROM field is empty.
These mail servers are severely broken (see RFC1123 sec5.3.3, rfc821 sec3.6), but I see the point in allowing a custom envelope sender - as long as the user understands what he's doing (DomainKeys/SPF/etc will hurt here). I've added an undocumented "from" key in the CheckAddress function. so you can say "Mail::VRFY::CheckAddress(addr => $emailaddr, from => 'from@example.com')