The script
smstest.php uses Adjustment header to provide better readable dump of a message when debugging and testing character set conversions of web page applications. This header has no other purpose and smsd just ignores it. From this sample dump it can be seen that message body begins from the start of a line:
I assume that you have removed this header creation code from the smstest.php script, right? Probably your new style message file is somehow broken.
If the sending fails, the log file should tell the reason. Please recheck your message file and the log.
You could also create a directory
/var/spool/sms/failed and add a definition to the global part of smsd.conf:
failed = /var/spool/sms/failedWith this setting (remember to restart smsd) you can examine failed messages, for example:
To: 35840571XXXX
Fail_reason: No text or data
Failed: 09-07-30 12:26:17Remember the message file format: first any number of header lines without empty lines between them. If the same header is defined twice, the last value is taken. After header part there should be single empty line and after this all the remaining is taken as a message body.