Create the file /home/vpopmail/domains/your-domain/.qmail-sms. The file content is only one line:
| /usr/local/bin/email2sms
During installation an example script will be copied: /usr/local/bin/email2sms
That's it.