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

Re: Issues in the current HEAD

Thread Previous | Thread Next
From:
Jared Johnson
Date:
January 4, 2015 06:46
Subject:
Re: Issues in the current HEAD
Message ID:
1420353988542.1988@efolder.net
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:


index 3675829..141214c 100755
--- a/qpsmtpd
+++ b/qpsmtpd
@@ -17,8 +17,8 @@ delete $ENV{ENV};
 $ENV{PATH} = '/bin:/usr/bin:/var/qmail/bin';

 my $qpsmtpd = Qpsmtpd::TcpServer->new();
-$SIG{__WARN__} = sub { $qpsmtpd->warn_handler(@_) };
 $qpsmtpd->load_plugins();
+$SIG{__WARN__} = sub { $qpsmtpd->warn_handler(@_) };
 $qpsmtpd->start_connection();
 $qpsmtpd->run(\*STDIN);    # pass the "socket" like -prefork/-forkserver
 $qpsmtpd->run_hooks("post-connection");

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.

-Jared


________________________________
From: Jared Johnson <jjohnson@efolder.net>
Sent: Saturday, January 3, 2015 11:11 PM
To: salvisbe@gmx.ch
Cc: qpsmtpd@perl.org
Subject: Re: Issues in the current HEAD


Regarding the warn_handler message, I probably managed to mess up my recently merged https://github.com/smtpd/qpsmtpd/pull/168 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.

On Jan 3, 2015 5:12 PM, salvisbe@gmx.ch wrote:
I'm using xinetd according to http://wiki.qpsmtpd.org/doku.php?id=deploy:start, i.e. no daemon mode but just running

exec qpsmtpd


-----Urspr√ľngliche Nachricht-----
Gesendet: Saturday, 03 January 2015 um 23:31:06 Uhr
Von: "Jared Johnson" <jjohnson@efolder.net>
An: "salvisbe@gmx.ch" <salvisbe@gmx.ch>
Betreff: Re: Issues in the current HEAD

What daemon mode are you using? Prefork?
--
*** DoubleCheck identified this as CLEAN. Give feedback:
*** This is SPAM: http://filter.emailportal.com
*** More options: http://filter.emailportal.com
DoubleCheck identified this as CLEAN. Give feedback: This is SPAM<http://filter.emailportal.com> · More<http://filter.emailportal.com>

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