Mutt - filepro report processing - Unix

Kenneth Brody kenbrody at spamcop.net
Mon Sep 22 10:56:38 PDT 2014


On 9/22/2014 1:16 PM, Fairlight wrote:
> The user you are logged in as before you go into filePro is the one to
> which the bash shell drops privileges between the SYSTEM() call and the
> actual execution of mutt.
>
> If that user did not have permissions for /usr2/henry/, this could result
> in an inability to see anything being redirected in, and might result in
> that message.
>
> Are your permissions set appropriately?

If the user didn't have access to that directory, then the shell would give 
an error on the redirect, and mutt would never even run.

[...]
>> Example :
>>
>> /usr2/henry> umask 0
>> /usr2/henry> cal 2014 > 2014      # generates a file called 2014 with the 2014 calendar
>>
>> Then a run the command and it works perfectly:
>>
>> /usr2/henry> mutt -s subject henry at email.com<mailto:henry at email.com>  < 2014
>>
>> But this below will throw a "Could not send the message." Right after running the report.
>>
>> 63  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>>         . If:                                                        .
>>         Then: system "cd /usr2/henry ; mutt -s Subject henry at vegena.net < 2014"
[...]

Are there any flags to mutt to have it give you more info beyond "I'm sorry, 
Dave, I can't do that"?  Perhaps an error log file with details?

-- 
Kenneth Brody


More information about the Filepro-list mailing list