SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun May 19, 2024 17:30
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
cicchio: embarrassed.. :oops: I didn't understand was how the script works! Now it works ..now remains to run everything. Meanwhile, thanks very much for your help and patience :)
cicchio: I'm confused.. from what I understand the problem are the headers in the smsgw.out.XXXXX What wrong? is there some other script that cleans the files from the headers? This is the file /var/spool/sms/checked/smsgw.out.mcknPx ( PRIVATE BLOCK )
cicchio: So there.. ( PRIVATE BLOCK ) ( PRIVATE BLOCK )
cicchio: sorry but I can't send pvt message.. Body Message: less /var/spool/sms/checked/smsgw.out.XXXXXX ( PRIVATE BLOCK ) This is the log: ( PRIVATE BLOCK )
cicchio: How did you fix the qmail side? Please publish your information, it might be very valuable for other users using qmail and vpopmail. And it will make my life easier when someone else has this kind of problem later... ;) ..I had just realized that the email should be sent to the user sms@mydomain.st .. I realized when I tried to create it and I returned the error address already in use! How stupid! :oops: The command mktemp used in the script email2sms creates a file with 600. You could add this command to the end of a script: chmod 666 $OUTFILE It's quick-and-dirty, but should help. now it works just, perfect! Please show the message file which was created. Also show the log using loglevel = 7. Send two messages, one from the command line and one from the email. Using loglevel = 7 comes back to me this error message (the same that I pasted before): 2009-08-26 11:58:40,7, GSM1: Command is sent, waiting for the answer 2009-08-26 11:58:43,7, GSM1: <- +CMS ERROR: 38 (Network out of order) 2009-08-26 11:58:43,3, GSM1: The modem answer was not OK: +CMS ERROR: 38 (Network out of order) 2009-08-26 11:58:43,5, GSM1: Waiting 10 sec. before retrying seems not like the formatting, can it be? bye :)
cicchio: ok solved all .. or almost:) now the problem is related to the created file folder Outgoing: ls -l /var/spool/sms/outgoing/smsgw.out.cSkdhf -rw------- 1 vpopmail uucp 1139 Aug 26 10:47 /var/spool/sms/outgoing/smsgw.out.cSkdhf vpopmail that is the problem .. when run manually chown -R uucp:uucp /var/spool/sms/outgoing message is read.. ..But then I read the logs: GSM1: <- +CMS ERROR: 38 (Network out of order) GSM1: The modem answer was not OK: +CMS ERROR: 38 (Network out of order) I have the feeling that it is wrong formatting 'email .. from command line, with sendsms 3912345678 'Message Body' works fine :roll: Instead this is an example of how to send email: To: 3912345678 Message: this is an example always thanks ;)
cicchio: pardon the insistence, this is my setup.. # ls -l /usr/home/vpopmail/domains/mydomain.st/ -rw------- 1 vpopmail vchkpw 34 Jul 23 12:43 .dir-control -rw------- 1 vpopmail vchkpw 59 Jul 23 12:42 .qmail-default -rw-r--r-- 1 vpopmail vchkpw 27 Aug 25 11:11 .qmail-sms -rw------- 1 vpopmail vchkpw 92 Jul 23 12:42 .qmailadmin-limits -rw------- 1 vpopmail vchkpw 0 Jul 23 12:43 .vpasswd.lock drwx------ 3 vpopmail vchkpw 512 Jul 23 12:43 sms drwx------ 3 vpopmail vchkpw 512 Jul 23 12:42 postmaster # cat /usr/home/vpopmail/domains/mydomain.st/.qmail-sms | /usr/local/bin/email2sms # ls -l /usr/home/vpopmail/domains/mydomain.st/sms/Maildir/ drwx------ 2 vpopmail vchkpw 512 Aug 25 11:24 cur drwx------ 2 vpopmail vchkpw 512 Aug 25 11:24 new drwx------ 2 vpopmail vchkpw 512 Aug 25 11:23 tmp # ls -l /usr/local/bin/email2sms -r-xr-xr-x 1 root wheel 939 Aug 25 11:20 /usr/local/bin/email2sms script email2sms remained unchanged as the original! # ls -l /var/spool/sms/ drwxr-xr-x 2 uucp dialer 512 Aug 21 15:37 checked drwxr-xr-x 2 uucp dialer 512 Aug 21 15:37 incoming drwxrwxrwx 2 uucp dialer 512 Aug 21 16:33 outgoing emails arrive regularly to maildir SMS, but it is then forwarded to the outgoing folder.. I can do? thanks again :)
cicchio: Have you checked that the file /usr/local/bin/email2sms is executable and it has suitable permissions? Yes.. -r-xr-xr-x 1 root wheel 898 Jul 28 10:18 /usr/local/bin/email2sms Also, what account is used to run smsd and who owns the /var/spool/sms/outgoing directory? drwxr-xr-x 2 uucp dialer 512 Aug 21 16:33 outgoing ..smsd_user="uucp" Probably qmail (or whoever runs a mailer daemon) cannot create outgoing SMS file. Perhaps you should chmod 777 /var/spool/sms/outgoing. ..try You could temporarily change /usr/local/bin/email2sms to create a file to the /tmp directory: OUTFILE=$(mktemp /tmp/smsgw.out.XXXXXX) With this change you can see if the qmail side works as expected. I also tried this but does not create a file smsgw.out.XXXXXX This means that qmail is not working well? email can be sent to any existing account on a specific or vpopmail? thanks always for the help
cicchio: I tried to send an email to an account type sms@mydomains.st but nothing sms .. I do not understand the file. qmail-sms can read the email into the box .. thanks for the help
cicchio: ok.. created the file / home/vpopmail/domains/mydomain.st/.qmail-sms containing only this string: | / usr/local/bin/email2sms with permits: ls -l /home/vpopmail/domains/mydomain.st/ -rw-r--r-- 1 vpopmail vchkpw 28 Jul 23 17:41 .qmail-sms I don't understand how to operate, the email can be sent to any account in the folder mydomain.st or to a specific user? the email should have a special syntax? many thanks ;)
cicchio: Hi everyone, I have a problem .. Should receive an email on a mailbox and can then forward a number of mobile phone. I installed qmail and smstools and both work, but I do not understand how to send mail through sms. I read the script email2sms but I do not understand how to use it, someone can help me? ps. sorry for my bad English :oops: bye

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.