Keywords: Mode: All keywords (AND) |
Tue Apr 15, 2014 13:49
|
djtk808: Hi,
I am getting the following error after it retrieves mail from the mbox mailbox:
ERROR: Flock of semaphore file "/var/lock/MailSmsGateway/MailSmsGateway.sem" not possible
I have also noticed that the ownership of the mailbox is changed from the user to root after MailSmsGateway accesses the mailbox.
|
Mon Apr 14, 2014 13:34
|
djtk808: Ubuntu 12.04 LTS:
3-3.1.15:
sources
Huawei 3131:
USB
Just wondering.
I posted an earlier question on this got nothing at all. Does that mean this script does not work or no-one has ever got it working?
|
Wed Apr 09, 2014 14:19
|
djtk808: Can anyone help, please....
|
Wed Apr 02, 2014 15:57
|
djtk808: 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.
|