Mailing List CGatePro@mail.stalker.com Message #106039
From: Technical Support, Stalker Labs <support@stalker.com>
Subject: Re: help to configure DKIM sign perl script
Date: Fri, 18 Mar 2016 19:01:36 +0300
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
Hello,
On 17.03.2016 0:56, Artëm Kazantsev wrote:
I am trying to setup the DKIM sign script,
https://www.stalker.com/ScriptRepository/helper_DKIM_sign.pl
and I am getting an error messages:

21:17:23.067 5 EXTFILTER(DKIM_sign) inp(030): * helper_DKIM_sign.pl started.
21:17:23.175 4 EXTFILTER(DKIM_sign) ENQUEUER-1 starting initialization
21:17:23.175 5 EXTFILTER(DKIM_sign) out(011): 255 INTF 4\n
21:17:23.175 5 EXTFILTER(DKIM_sign) inp(010): 255 INTF 3
21:17:23.175 2 EXTFILTER(DKIM_sign) interfaceLevel = 3
21:17:23.175 2 EXTFILTER(DKIM_sign) inited
21:17:23.175 5 EXTFILTER(DKIM_sign) out(025): 256 FILE Queue/70013.msg\n
21:17:23.175 5 EXTFILTER(DKIM_sign) inp(066): 256 REJECTED can't open Queue/70013.msg: No such file or directory


Move the script from /usr/bin/ into /var/CommuniGate/ and see if it helps


21:17:26.004 5 EXTFILTER(DKIM_sign) out(025): 257 FILE Queue/70026.msg\n
21:17:33.175 5 EXTFILTER(DKIM_sign) out(025): 258 FILE Queue/70013.msg\n
21:17:33.176 5 EXTFILTER(DKIM_sign) inp(066): 258 REJECTED can't open Queue/70013.msg: No such file or directory
21:17:35.000 1 EXTFILTER(DKIM_sign) request 257 timed-out
21:17:35.000 2 EXTFILTER(DKIM_sign) killing the external program
21:17:35.000 3 EXTFILTER(DKIM_sign) failed(will retry): FILE Queue/70026.msg. Error Code=external helper timed out
21:17:35.001 1 EXTFILTER(DKIM_sign) reading failed. Error Code=bad file descriptor
21:17:35.001 1 EXTFILTER(DKIM_sign) reading failed. Error Code=bad file descriptor
21:17:35.001 2 EXTFILTER(DKIM_sign) task terminated. retCode=-9
21:17:38.000 3 EXTFILTER(DKIM_sign) failed(will retry): FILE Queue/70026.msg. Error Code=bad file descriptor
21:17:41.000 3 EXTFILTER(DKIM_sign) failed(will retry): FILE Queue/70026.msg. Error Code=bad file descriptor
21:17:41.002 2 EXTFILTER(DKIM_sign) program(/usr/bin/perl /usr/bin/helper_DKIM_sign.pl) relaunching
21:17:41.002 2 EXTFILTER(DKIM_sign) program(/usr/bin/perl /usr/bin/helper_DKIM_sign.pl) launching
21:17:41.003 2 EXTFILTER(DKIM_sign) program(/usr/bin/perl /usr/bin/helper_DKIM_sign.pl) launched


When I test the helper manually, it works as expected:
[root@ip-172-16-22-58 ~]# /usr/bin/perl /usr/bin/helper_DKIM_sign.pl
* helper_DKIM_sign.pl started.
1 FILE /var/CommuniGate/Queue/70029.msg
1 ADDHEADER "DKIM-Signature: v=1; a=rsa-sha256; c=relaxed;
d=email-from.nyc;
h=from\e\t:subject:to:message-id:date:mime-version:content-type\e\t:content-transfer-encoding;
s=mail; bh=aiYy3iuz5Oji+0xI6ju56512Z\e\tFazw2sDXpIL4IOtkOY=;
b=n435ZdNhcxcYglJlj0BS14ldBFu5LgsJ2DU+uV6pV\e\thz0F5591sF7Hfk3nPyfZh6hElKNpQMm+sqvPUesji+/azgYm47RR0PvzjH1y9gV6\e\trBsQ6DLVcqrmlNilThIw1WtNgs6sSjm3F3fPyqTCYiTYkXq/uHN2XCHc1QOBuXe8\e\tn4="

What could be the problem?
Any pointers will be appreciated.

--

Artëm Kazantsev <mailto:art@akazantsev.chapel-hill.nc.us>



--
Best regards,
Roman Prokhorov
=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your reply.
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster