You need working library dietlibc and libowfat - see
http://www.fefe.de/
unpack and install with:
tar -xvzf qmail-sms-0.1.tar.gz cd qmail-sms-0.1 make cp qmail-sms /var/qmail/bin
|qmail-sms 160 5 user-smsblock@host.net 49216194123@sms.host.net |qmail-sms 160 5 '' 49216194123@sms.host.net
echo '|exit 0' > ~/.qmail-smsblock chmod 600 ~/.qmail-smsblock
You will receive at most 5 SMS per incoming e-mail. The max lenght is 160 bytes.
qmail-sms size parts sender recp1 [resp2 recp3 ...] [-n] < filewith [-n] qmail-sms write the result to stdin and the envelope to stdout. It does not invoke qmail-queue. It is possible to use more recipients also i dot-qmail files.
SEE man dot-qmail
Enjoy, Nikola