develooper Front page | perl.qpsmtpd | Postings from January 2015

Re: Issues in the current HEAD

Thread Previous | Thread Next
From:
Hans Salvisberg
Date:
January 4, 2015 21:56
Subject:
Re: Issues in the current HEAD
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&#39;t think this has made any difference.</div>

<div>&nbsp;</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>&nbsp;</div>

<div>...</div>

<div>
<div>4358 4358 click, disconnecting</div>

<div>4358 4358 (post-connection) connection_time: 1.528 s.</div>

<div>&nbsp;</div>

<div>4358 FATAL PLUGIN ERROR [logging::file_3a0]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.</div>

<div>FATAL PLUGIN ERROR [logging::file_3a0]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/>
FATAL PLUGIN ERROR [logging::file_3a1]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/>
FATAL PLUGIN ERROR [logging::file_3a2]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/>
FATAL PLUGIN ERROR [logging::file_3a3]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.<br/>
FATAL PLUGIN ERROR [logging::file_3a7]: Can&#39;t call method &quot;hook_logging&quot; on unblessed reference at lib/Qpsmtpd/Plugin.pm line 47 during global destruction.</div>

<div>&nbsp;</div>

<div><em>If we call the block above </em></div>

<div><em>0&nbsp; 0 1 2 3 7</em></div>

<div><em>then it&#39;s followed by</em></div>

<div>
<div><em>1&nbsp; 0 1 2 3 7</em></div>

<div>
<div><em>2&nbsp; 0 1 2 3 7</em></div>

<div>
<div><em>3&nbsp; 0 1 2 3 7</em></div>

<div><em>7&nbsp; 0 1 2 3 7</em>

<div>
<div>
<div><em>and finally</em></div>

<div>&nbsp;</div>

<div>Can&#39;t call method &quot;warn_handler&quot; on an undefined value at /home/smtpd/qpsmtpd/qpsmtpd line 21 during global destruction.</div>
</div>
</div>
</div>
</div>
</div>
</div>

<div>&nbsp;</div>
&nbsp;

<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>&nbsp;Sonntag, 04. Januar 2015 um 07:46 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Jared Johnson&quot; &lt;jjohnson@efolder.net&gt;<br/>
<b>An:</b>&nbsp;&quot;salvisbe@gmx.ch&quot; &lt;salvisbe@gmx.ch&gt;<br/>
<b>Cc:</b>&nbsp;&quot;qpsmtpd@perl.org&quot; &lt;qpsmtpd@perl.org&gt;<br/>
<b>Betreff:</b>&nbsp;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&#39;m about 51% sure that this will fix it, but I can&#39;t arrange a quick test just&nbsp;now because apparently xinetd is gone from os x mavericks. &nbsp;If you feel like testing this I would be interested in your results:</p>

<p>&nbsp;</p>

<div>index 3675829..141214c 100755</div>

<div>--- a/qpsmtpd</div>

<div>+++ b/qpsmtpd</div>

<div>@@ -17,8 +17,8 @@ delete &#36;ENV{ENV};</div>

<div>&nbsp;&#36;ENV{PATH} = &#39;/bin:/usr/bin:/var/qmail/bin&#39;;</div>

<div>&nbsp;</div>

<div>&nbsp;my &#36;qpsmtpd = Qpsmtpd::TcpServer-&gt;new();</div>

<div>-&#36;SIG{__WARN__} = sub { &#36;qpsmtpd-&gt;warn_handler(@_) };</div>

<div>&nbsp;&#36;qpsmtpd-&gt;load_plugins();</div>

<div>+&#36;SIG{__WARN__} = sub { &#36;qpsmtpd-&gt;warn_handler(@_) };</div>

<div>&nbsp;&#36;qpsmtpd-&gt;start_connection();</div>

<div>&nbsp;&#36;qpsmtpd-&gt;run(&#92;*STDIN); &nbsp; &nbsp;# pass the &quot;socket&quot; like -prefork/-forkserver</div>

<div>&nbsp;&#36;qpsmtpd-&gt;run_hooks(&quot;post-connection&quot;);</div>

<div>&nbsp;</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>&nbsp;</div>

<div>-Jared</div>

<p>&nbsp;</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 &lt;jjohnson@efolder.net&gt;<br/>
<b>Sent:</b> Saturday, January 3, 2015 11:11 PM<br/>
<b>To:</b> salvisbe@gmx.ch<br/>
<b>Cc:</b> qpsmtpd@perl.org<br/>
<b>Subject:</b> Re: Issues in the current HEAD</font>

<div>&nbsp;</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, salvisbe@gmx.ch 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&#39;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&uuml;ngliche Nachricht-----<br/>
Gesendet: Saturday, 03 January 2015 um 23:31:06 Uhr<br/>
Von: &quot;Jared Johnson&quot; &lt;jjohnson@efolder.net&gt;<br/>
An: &quot;salvisbe@gmx.ch&quot; &lt;salvisbe@gmx.ch&gt;<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>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About