Keywords: Mode: All keywords (AND) |
Tue Nov 26, 2013 10:56
|
PQMattias: You only need to change in master.cf.
Change from:
smstools unix - n n - - pipe
flags=DORhu user=smstools argv=/usr/local/bin/email2sms
To:
smstools unix - n n - - pipe
flags=DORhu user=root argv=/usr/local/bin/email2sms
//Mattias
|
Mon Nov 25, 2013 19:58
|
PQMattias: Wait. I found one thing that is strange and might cause the problem...
You said you were running everything as root. But it the postfix config you specify "smstools" as the user for the script.
smstools unix - n n - - pipe
flags=DORhu user=smstools argv=/usr/local/bin/email2sms
Try changing it to root or run smsd as smstools
//Mattias
|
Mon Nov 25, 2013 19:53
|
PQMattias: Sorry for the stupid questions/suggestions...
Can you post a copy of /usr/local/bin/email2sms here so we can compare it towards the example script delivered with SMSTools. (I assume this is the script you're using).
//Mattias
|
Mon Nov 25, 2013 14:37
|
PQMattias: Hi Batnun.
First thing: What's the permissions on the script? (/usr/local/bin/email2sms)
Second:
What happends if you create an alias in postfix like:
<Phone number>: Batnun
and then you try to send an e-mail to
<Phone number>@pappsmsgw01
//Mattias
|