Author |
Post |
|
#1 Mon Jun 24, 2019 11:08, 64 months ago.
|
Member
Registered: Jun 2019
Location: Germany
|
Operating system name and version: windows 7 64-bit / cygwin 64 3.07 Version of smsd: 3.1.21 Smsd installed from: downloaded package from this site Name and model of a modem / phone: Interface: USB
Hello.
First of all excuse my english, it is not my native language.
I formely used SMSTools3 on a windows xp cygwin installation to send sms to multiple recipients. I now had to switch to a newer pc with windows 7. For using SMSTools3 I installed cygwin64.
The problem is that I now get errors while trying to send sms to multiple persons. Single sms do work. I am using the same checkhandler script as before, which was provided from here: http://smstools3.kekekasvi.com/topic.php?id=92
The specific problem seems to be line 8 from that script: line 8 :No such file or directory I looked up if others had the same problem and found this: http://smstools3.kekekasvi.com/topic.php?id=946 I therefore checked if the procmail package was installed and just in case reinstalled it. Sadly it still does not work.
Since I don't know what else I could do (I have no real experience with bash programming, or this programm in general) I wanted to ask here for help. Thank you to everyone who tries to help me.
|
|
#2 Mon Jun 24, 2019 14:19, 64 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
If a procmail package is installed properly, the command which formail should say /usr/bin/formail. Please check this.
|
|
#3 Mon Jun 24, 2019 17:14, 64 months ago.
|
Member
Registered: Jun 2019
Location: Germany
Topic owner
|
Thank you for the answer. Since it is a computer at the university lab, I do not have access to it at the moment, but I will try it as soon as I can in the next days and report back.
|
|
#4 Thu Jun 27, 2019 12:45, 64 months ago.
|
Member
Registered: Jun 2019
Location: Germany
Topic owner
|
Sorry for the long pause, the pc was in use and I could only try it today. When I typer the command "which formail" in the cygwin terminal, I get the answer " /usr/bin/formail", so that should be correct.
|
|
#5 Thu Jun 27, 2019 13:33, 64 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Ok, it looks like the environment is missing the PATH. Try this as a second line in the checkhandler:
PATH=$PATH:/usr/bin
|
|
#6 Mon Jul 01, 2019 13:12, 64 months ago.
|
Member
Registered: Jun 2019
Location: Germany
Topic owner
|
Sorry again for the late reply.
I tried your solution and sadly it did not work. After trying a few things (for example including the /usr/bin folder in the windows path variable) I used the "echo $Path" command in the bash file to show all path that will be searched for the formail file. The output of this command contains pathes that have a space (like cydrive/c/Programm Files/...). Can this be the problem?
|