[exim] Re: failure to transfer data from subprocess

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Robert Nicholson
日付:  
To: Evgeniy Berdnikov
CC: exim-users
題目: [exim] Re: failure to transfer data from subprocess
thanks for this suggestion.

here’s what things look like

pipe "$home/perlscripts/filter.sh"

where filter.sh looks like this

#! /bin/sh

/usr/bin/strace -o /home/elastica/filter2.log -A nice -10 /usr/bin/perl /home/elastica/perlscripts/filter.pl

for now seems to be working.

I just have to get more offending messages.

I will say right now though there’s a lot of “ENOENT” errors and this is not unexpected because whenever something has a search path it’s going to try many places to locate something so these kinds of errors are going to be very prevalent when you start tracing.


> On Jun 1, 2023, at 5:14 AM, Evgeniy Berdnikov via Exim-users <exim-users@???> wrote:
>
> Hi.
>
> On Wed, May 31, 2023 at 09:56:25AM -0500, Robert Nicholson via Exim-users wrote:
>> Does anybody have any more ideas as to how I investigate this
>> further since I don’t have debug as I’m not an admin and the folks
>> responsible for the exim build claim that this is all due to the
>> fact that I’m using a custom filter which I am but it’s understood
>> that my filter itself couldn’t be responsible for the errors I’m
>> seeing when things error.
> ...
>> pipe "nice -10 $home/perlscripts/filter.pl"
>
> If you can modify this filter.pl (I assume it's your own script),
> use a wrapper with strace/ltrace utilities to log syscalls.
>
> Your error message is 'No such file or directory', so pay attention
> to file-related syscalls, such as open(2)/openat(2).
> --
> Eugene Berdnikov
>
> --
> ## subscription configuration (requires account):
> ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
> ## unsubscribe (doesn't require an account):
> ## exim-users-unsubscribe@???
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/



--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/