On 18-Jan-08, at 3:11 PM, Jared Johnson wrote:

I've made a bit of progress though, I found /var/log/qpsmtpd/ qpsmtpd.log which has the following output:

FATAL PLUGIN ERROR: Can't coerce GLOB to string in entersub at / usr/lib/perl/5.8/Data/Dumper.pm line 179.

So perhaps Data::Dumper is having some trouble handling our data structure? We get the same error trying to operating on $transaction alone or $self alone.

Yeah, because the structures are circular so you end up somewhere getting the socket, which is a glob.

My questions right now -- anybody got another reccomendation for a module as handy as Data::Dumper? And, is there some documentation that enumerates data available to me, e.g. message headers, smtp envelope, etc.? Thus far I've been looking at existing plugins to see what hooks they use, and data like $self->qp->connection->helo etc.

Everything is (should be?) fairly well documented. Just do: perldoc / path/to/qpsmtpd/lib/Qpsmtpd/Transaction.pm (and Connection.pm and so on).

I guess it'd be good to get that stuff on the wiki.

Matt.

Reply via email to