qpsmtpd-async

2008-12-21 Thread bryanh
Hi Everyone! I am very new to qpsmtpd and I am trying to write my first plugin. For starters I want to use qpsmtpd-async instead of the other options available. Because of this I have been learning about how qpsmtpd handles polling within the code. It looks like certain plugins are available as

epoll error on plugin when using global variable Reference Previous Post

2008-12-21 Thread bryanh
dump_error ./plugins/rcpt_ok:127 called Danga::Socket::watch_read /home/bryanh/qpsmtpd/lib/Qpsmtpd/Plugin.pm:40 called Qpsmtpd::Plugin::rcpt_ok::hook_rcpt /home/bryanh/qpsmtpd/lib/Qpsmtpd.pm:444 called Qpsmtpd::Plugin::__ANON__ /home/bryanh/qpsmtpd/lib/Qpsmtpd.pm:444 called

self->qp->run_continunation in async mode

2008-12-25 Thread bryanh
Does this function cause all YIELD'd routines to be recalled? If so Does qpsmtpd have any capabilities to only: 1.) Continue one connection or transaction instead of calling all pending yields, this may recall some routines to early causing unnecessary conditional checks. 2.) Can I send

plugin to plugin communication in async mode

2008-12-29 Thread bryanh
I am writing a qpsmtpd-async plugin to send various blocking operation commands to a group of pre-forked (at startup time) handler processes. 1.) For purposes of description plugin1 is called: handlerProcess plugin2 is called: rcpt_ok 2.) rcpt_ok at init performs a self->isa_plugin(handlerProcess