Mutt - filepro report processing - Unix

Fairlight fairlite at fairlite.com
Tue Sep 23 12:05:41 PDT 2014


Ah, strace isn't fond of suid once you're into the suid.

Instead of sticking the strace onto the system command directly, you should
run filePro inside strace:

strace -s 2048 -o /tmp/strace_output.txt -f [filepro command and options]

The -f lets it trace everything down the line as things fork. 

-Should- work better.

mark->

On Tue, Sep 23, 2014 at 09:34:02AM -0500, Scott Nelson thus spoke:
> On 09/22/2014 07:00 PM, Fairlight wrote:
> >On Mon, Sep 22, 2014 at 01:41:43PM -0400, Walter D Vaughan Jr thus spoke:
> >>Or maybe because the command is not formatted properly?
> >>
> >>mutt -s "subject" who at mailserver.domain.ltd < /file_to_be_included
> >>
> >>To me the quotes are around the wrong thing. You need to escape them or
> >>change them to their chr$(n) equivalents.
> >>
> >>http://www.mutt.org/doc/manual/manual-6.html#ss6.1
> >I'm going to pull a Ken, but up the ante:
> >
> >"What did strace(1) say?"
> >
> >Litrally, preface your mutt command with:
> >
> >strace -s 2048 -o /tmp/mutt_trace.txt
> >
> >Run the processing, then see what it's trying to do right before it bails.
> >
> >mark->
> >_____________
> 
> Hi Mark,
> 
> I am working on this problem also, ran it with trace and I can see
> from the emulator history an error when the line runs in the filePro
> processing:  "sh: strace: execute permission denied"  then "Could
> not send the message".
> 
> I also tried without the attachment and got the same message.  The
> line format is:
> 
> :system "mutt -s 'Label' scott at logicdatasystems.com </appl/fpdocs/testtext"
> 
> This same format worked with the prior version of mutt 0.95.7i and
> we upgraded to 1.5.23 that JP has on his site for OpenServer 6.
> 
> I can send the message with the exact format as the line in filePro
> from a user on the command line.
> 
> Also, double quote is not needed for the command line.  If your
> subject is more than one word, a single quote will do.
> 
> Thanks,
> 
> Scott
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> >__________________________________
> >Filepro-list mailing list
> >Filepro-list at lists.celestial.com
> >Subscribe/Unsubscribe/Subscription Changes
> >http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list