hi

i have just moved one xmail server from win to linux and everything 
seems to work fine. I just have one glitch with one of the filters in 
mailproc

in mailproc.tab i have
"mailbox"
"external"   "path to bash script"   "@@FILE"   (real TABs)

in bash script I have some mime extract functions and in the end I call 
another bash script so it looks something like that
....
munpack $1
mv *.png picture.png
....

echo "#!/bin/bash" >script2
cat list | while read line
    echo 'email -f [EMAIL PROTECTED] -n test -a picture.png -b line >>script2
done
chmod 700 script2
../script2


so, I extract picture from the incoming mail and then create a bash 
scripts that sends mail with embeded picture to all recipients in a list 
file and run that bash script (email is a mail client from 
email.cleancode.org)

The problem is that *when running in debug mode this just works fine* 
but when running as daemon the second script does not get executed. The 
script2 is 100% created but not executed. Any idea why?

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to