Author |
Post |
|
#1 Tue Apr 12, 2011 10:07, 171 months ago.
|
Member
Registered: Apr 2011
Location: Austria
|
Operating system name and version: Ubunutu 10.10 Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: HUAWEI E220 Interface: USB
Hi there, i want to build an EMail2SMS Server using Postfix, I want that every Mail for the adress number@sms.domain will be sent as sms. Can anyone give me some Tips for this problem?
Thanks
|
|
#2 Tue Apr 12, 2011 12:07, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
In the package there is a sample scripts/email2sms, which can be used with procmail or vpopmail. The script has very basic functionality. In usual cases it's not enough, for example because html messages are sent as they are, and it's not good for SMS. This kind of a script can be used with plain text only. See also this topic: email2sms-ucs: international version of email2sms.
|
|
#3 Wed Apr 13, 2011 08:01, 171 months ago.
|
Member
Registered: Apr 2011
Location: Austria
Topic owner
|
Thanks, it all works fine now, except when I send an Mail from Outlook to may Postfix/SMS Server SMS Server doesnt recognize the Telephone Number. Is this a Outlook Problem? Because if I send them with Mutt f.e. it all works fine, and the construct of the email is the same in both Programms
|
|
#4 Wed Apr 13, 2011 08:35, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
There is some issue, but I do not know what it is. In the past one member asked the same, but the topic is outdated: [outdated] email2sms does not support mail from outlook client ?Can you show the headers from received email? Use Private tag to protect the information.
|
|
#5 Wed Apr 13, 2011 09:58, 171 months ago.
|
Member
Registered: Apr 2011
Location: Austria
Topic owner
|
Thanks for the Hint, it really was because of the "+" in front of the number, funny thing is that i can send from thunderbird and other mail clients without plus
|
|
#6 Wed Apr 13, 2011 11:08, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Without seeing examples of exact header, I cannot say for sure anything, but perhaps Outlook uses quotation marks in the To field, and Thunderbird does not. For example:
To: "+358401234567" <sms@localhost.local> will work because of the plus sign. To: "358401234567" <sms@localhost.local> will not work, because sign is missing and does not start with a number. To: 358401234567 <sms@localhost.local> will work because starts with a number.
|