Reinhard Seifert
unread,Jan 21, 2015, 11:45:02 AM1/21/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qps...@perl.org
Hi,
first of all, thank you guys for developing/maintaining qpstmpd, really
a great piece of work.
I am a newbee qpstmpd user and also new to Perl... and also quite new to
qmail at that.
It took me some time to dpkg-reconfigure the debian package, but now it
is working excellent together with spamassassin.
I found the Qmail::Deliverable module for perl and installed it using
cpanminus.
But what now?
I looked at perldoc Qmail::Deliverable and found those code lines to use
in a qpstmpd plugin
<quote>
use Qmail::Deliverable ':all';
return DECLINED if not qmail_local $recip;
return DECLINED if deliverable $recip;
return DENY, "Who's that?";
</quote>
I pasted those lines into /usr/share/qpstmpd/plugins/check_deliverable
and added "check_deliverable" to the /etc/qpsmtpd/plugins config file.
But when restarting the service I get an error message complaining about
the $recip variable.
I tried to find an example plugin which utilizes Qmail::Deliverable, but
did not succeed.
Can anyone give me a hint or even provide a working plugin? Also welcome
are hints regarding the startup of the qmail-deliverabled daemon. Do I
need to start it and will the plugin know about the port?
Thanks,
Reinhard