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 <jjohn...@efolder.net>
Sent: Saturday, January 3, 2015 11:11 PM
To: salvi...@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, salvi...@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" <jjohn...@efolder.net>
An: "salvi...@gmx.ch" <salvi...@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>

Reply via email to