Problem with "milter" plugin.

[email protected] (David Summers)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
Hello all,

I'm using qpsmtpd 0.43 and I am trying to get the dkim-milter package on
CentOS 5 to work with qpsmtpd.

I discovered that qpsmtpd has a "milter" plugin and it appears to be
very easy to set up the interface, just put:

milter name localhost:port

and it should talk to the milter at localhost:port and perform the function.

I verified that the milter is listening on the designated port and sent
some email and the result I got back from qpsmtpd was:

Aug 21 18:36:53 mailq qpsmtpd[13812]: Plugin milter, hook mail returned
DENY, Can't call method "send_mail_from" on an undefined value at
/usr/share/qpsmtpd/plugins/milter line 143. 


When I went to look at line 43 it is trying to call the saved milter
from the $self->qp->connection->notes saved 'milter'.

I don't understand what is changing that milter variable to undefined. 
I put in more debugging and the hook_connect method is definitely saving
it but when I get to line 143 in the hook_mail method the
$self->qp->connection->notes( 'milter' ) returns undef.

Can anybody help me figure out why and where it is getting set to undef
or if there is a known bug with the milter plugin?

I spent about 6 hours trying to debug it with no explanation for how or
why it is getting set to undef.

Any help, suggestions, pointers, RTFMs, would be greatly appreciated.  I
think it should have been a 5 minute job to set up and I've spent more
than 6 hours and still can't figure it out.

   Thanks in Advance,
   - David Summers
   - [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.