Ubuntu 12.04.4 LTS:
3.1.14-1:
Smsd installed from package repository:
Huawei E3131:
USB:
Hi,
I am trying to use the supplied email2sms script to send emails via sms. I have confirmed that the setup I have can send sms's using the sendsms script.
I have configured postfix main.cf with:
mailbox_transport = smstools
In master.cf I have:
smstools unix - n n - - pipe
flags=DORhu user=smsd argv=/usr/sbin/email2sms
The email2sms script has 0755 permissions, ownership smsd.dialout.
I have configured /etc/aliases with the format:
<number>: user
When I send an email to <number>@domain.com, the message is reported as delivered in Postfix, e.g.
Apr 2 17:38:03 sms-alert postfix/pipe[2267]: 952921DFA94: to=<user@domain.com>, orig_to=<123456789@domain.com>, relay=smstools, delay=21, delays=21/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via smstools service).
However, there is no sms sent, smsd.log simply shows:
2014-04-02 17:36:15,5, USB0: Waiting for messages to send...
Please help.