Re: Issues in the current HEAD
[email protected] ("Hans Salvisberg") Sun, 4 Jan 2015 22:56:27 +0100
| Newsgroups | perl.qpsmtpd |
|---|---|
| Message-ID | <trinity-56d86ef8-97cd-46e7-bf17-dd02e64732ba-1420408587111@3capp-gmx-bs12> |
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>No, I don't think this has made any difference.</div> <div> </div> <div>This is the error output written for an outgoing mail, i.e. submitted by an authorized user, after applying the patch:</div> <div> </div> <div>...</div> <div> <div>4358 4358 click, disconnecting</div> <div>4358 4358 (post-connection) connection_time: 1.528 s.</div> <div> </div> <div>4358 FATAL PLUGIN ERROR [logging::file_3a0]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.</div> <div>FATAL PLUGIN ERROR [logging::file_3a0]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/> FATAL PLUGIN ERROR [logging::file_3a1]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/> FATAL PLUGIN ERROR [logging::file_3a2]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/> FATAL PLUGIN ERROR [logging::file_3a3]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/> FATAL PLUGIN ERROR [logging::file_3a7]: Can't call method "hook_logging" on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.</div> <div> </div> <div><em>If we call the block above </em></div> <div><em>0 0 1 2 3 7</em></div> <div><em>then it's followed by</em></div> <div> <div><em>1 0 1 2 3 7</em></div> <div> <div><em>2 0 1 2 3 7</em></div> <div> <div><em>3 0 1 2 3 7</em></div> <div><em>7 0 1 2 3 7</em> <div> <div> <div><em>and finally</em></div> <div> </div> <div>Can't call method "warn_handler" on an undefined value at /home/smtpd/qpsmtpd/qpsmtpd line 21 during global destruction.</div> </div> </div> </div> </div> </div> </div> <div> </div> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Sonntag, 04. Januar 2015 um 07:46 Uhr<br/> <b>Von:</b> "Jared Johnson" <[email protected]><br/> <b>An:</b> "[email protected]" <[email protected]><br/> <b>Cc:</b> "[email protected]" <[email protected]><br/> <b>Betreff:</b> Re: Issues in the current HEAD</div> <div name="quoted-content"><!--p { margin-top: 0.0px; margin-bottom: 0.0px; } --> <div> <div id="divtagdefaultwrapper" style="font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);font-family: Calibri , Arial , Helvetica , sans-serif;"> <p>I'm about 51% sure that this will fix it, but I can't arrange a quick test just now because apparently xinetd is gone from os x mavericks. If you feel like testing this I would be interested in your results:</p> <p> </p> <div>index 3675829..141214c 100755</div> <div>--- a/qpsmtpd</div> <div>+++ b/qpsmtpd</div> <div>@@ -17,8 +17,8 @@ delete $ENV{ENV};</div> <div> $ENV{PATH} = '/bin:/usr/bin:/var/qmail/bin';</div> <div> </div> <div> my $qpsmtpd = Qpsmtpd::TcpServer->new();</div> <div>-$SIG{__WARN__} = sub { $qpsmtpd->warn_handler(@_) };</div> <div> $qpsmtpd->load_plugins();</div> <div>+$SIG{__WARN__} = sub { $qpsmtpd->warn_handler(@_) };</div> <div> $qpsmtpd->start_connection();</div> <div> $qpsmtpd->run(\*STDIN); # pass the "socket" like -prefork/-forkserver</div> <div> $qpsmtpd->run_hooks("post-connection");</div> <div> </div> <div>Master has #168 reverted so that will probably work for you now as well, but if the above change works I can re-submit this PR in a working state.</div> <div> </div> <div>-Jared</div> <p> </p> <div style="color: rgb(33,33,33);"> <hr style="display: inline-block;width: 98.0%;"/> <div id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11.0pt;"><b>From:</b> Jared Johnson <[email protected]><br/> <b>Sent:</b> Saturday, January 3, 2015 11:11 PM<br/> <b>To:</b> [email protected]<br/> <b>Cc:</b> [email protected]<br/> <b>Subject:</b> Re: Issues in the current HEAD</font> <div> </div> </div> <div> <p>Regarding the warn_handler message, I probably managed to mess up my recently merged <a href="https://github.com/smtpd/qpsmtpd/pull/168" target="_blank">https://github.com/smtpd/qpsmtpd/pull/168</a> for xinetd mode. Unfortunately my availability will be spotty this week. As a temporary fix, you could use a different mode (I recorded prefork) or un-merge that PR. Of course this may be the least of your problems.</p> <div class="gmail_quote">On Jan 3, 2015 5:12 PM, [email protected] wrote: <blockquote class="quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;"> <div> <div>I'm using xinetd according to <a href="http://wiki.qpsmtpd.org/doku.php?id=deploy:start" target="_blank"> http://wiki.qpsmtpd.org/doku.php?id=deploy:start</a>, i.e. no daemon mode but just running<br/> <br/> exec qpsmtpd<br/> <br/> <br/> -----Ursprüngliche Nachricht-----<br/> Gesendet: Saturday, 03 January 2015 um 23:31:06 Uhr<br/> Von: "Jared Johnson" <[email protected]><br/> An: "[email protected]" <[email protected]><br/> Betreff: Re: Issues in the current HEAD<br/> <br/> What daemon mode are you using? Prefork?<br/> --<br/> *** DoubleCheck identified this as CLEAN. Give feedback:<br/> *** This is SPAM: <a href="http://filter.emailportal.com" target="_blank">http://filter.emailportal.com</a><br/> *** More options: <a href="http://filter.emailportal.com" target="_blank">http://filter.emailportal.com</a></div> </div> </blockquote> </div> </div> </div> </div> </div> </div> </div> </div> </div></div></body></html>