Re: help to configure DKIM sign perl script

"Jeff Wark" <[email protected]> Thu, 17 Mar 2016 10:25:18 -0400
Newsgroups gmane.mail.cgatepro.general
Message-ID <[email protected]>
I've never used it, but I have a question about it.

How are you calling it in your Helpers page? Are you calling it as:

/usr/bin/perl /usr/bin/helper_DKIM_sign.pl

or as simply:

/usr/bin/helper_DKIM_sign.pl

with a #!/usr/bin/perl at the top?

I don't know if there would be a
difference.....

--

Jeff Wark
Tbaytel Internet
On Wed, 16 Mar 2016 17:56:16 -0400

Artëm Kazantsev <[email protected]> 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 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:[email protected]>
>>

#############################################################

This message is sent to you because you are subscribed to

the mailing list <[email protected]>.

To unsubscribe, E-mail to: <[email protected]>

To switch to the DIGEST mode, E-mail to <[email protected]>

To switch to the INDEX mode, E-mail to <[email protected]>

Send administrative queries to <[email protected]>