develooper Front page | perl.qpsmtpd | Postings from April 2004

Null sender and require_resolvable_fromhost

Thread Next
From:
Joe Stewart
Date:
April 14, 2004 12:24
Subject:
Null sender and require_resolvable_fromhost
Message ID:
200404141522.35065.jstewart@lurhq.com
Hi,
I'm using MailTools-1.62 and qpsmtpd-0.27.1. In order to allow the null 
sender <> as an envelope-from address when using the 
require_resolvable_fromhost plugin, I had to change
line 11 of require_resolvable_fromhost from:

$sender->format ne "<>"

to:

$sender->format ne "\"<>\""

because of the way Mail::Address adds quotation marks to an address. 
Otherwise the null sender gets rejected as not having a FQDN, which is 
probably not what the plugin author intended.

-Joe

-- 
Joe Stewart, GCIH 
Senior Security Researcher
LURHQ http://www.lurhq.com/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About