somewhere along the line, Mail::SPF::Query picked up another required
argument (helo) to its constructor. this adds support for that.
anyone been having any luck with spf? watching the traffic coming into
lists.mysql.com for the last hour or so, i haven't seen anything but
'unknown' results. sure would be nice if a few of the big guys (hotmail
and yahoo, for example) supported it.
jim
Index: plugins/sender_permitted_from
===================================================================
RCS file: /cvs/public/qpsmtpd/plugins/sender_permitted_from,v
retrieving revision 1.4
diff -u -r1.4 sender_permitted_from
--- plugins/sender_permitted_from 8 Jul 2003 03:12:04 -0000 1.4
+++ plugins/sender_permitted_from 20 Aug 2003 04:26:37 -0000
@@ -36,7 +36,8 @@
my $from = $sender->user . '@' . $host;
my $ip = $self->qp->connection->remote_ip;
- my $query = Mail::SPF::Query->new(ip => $ip, sender => $from)
+ my $helo = $self->qp->connection->hello_host;
+ my $query = Mail::SPF::Query->new(ip => $ip, sender => $from, helo => $helo)
|| die "Couldn't construct Mail::SPF::Query object";
$transaction->notes('spfquery', $query);