.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "SMS4YOU" 1 "" "" .SH NAME sms4you \- Personal gateway connecting SMS with XMPP or email. .sp \fBsms4you\fP forwards messages from and to SMS and connects either with \fBsms4you\-xmpp\fP or \fBsms4you\-email\fP to choose the other mean of communication. Nice for receiving or sending SMS, independently from carrying a SIM card. .INDENT 0.0 .INDENT 2.5 .UNINDENT .UNINDENT .SH IDEA .sp Connect a \fI\%suitable GSM modem or phone\fP containing a SIM card into a computer (e.g. a Raspberry Pi) at a fixed place. Give \fBsms4you\fP access to either a simple email address or a small xmpp server. It will use this connection to receive emails or xmpp messages to be sent out as SMS and to send out emails or xmpp messages with received SMS messages. .SH CONCRETELY - WHY? .sp There can be many reasons, why you want to use \fBsms4you\fP\&. Here are some examples: .INDENT 0.0 .IP \(bu 2 You are living in the internetz, and you just need a gateway to this old thing \(dqSMS\(dq, which some people really still seem to use. .IP \(bu 2 You travel and use local SIM cards, but you still want to be able to receive SMS confirmation codes from banks and services. .IP \(bu 2 You don\(aqt want to carry a (registered) SIM card for \fI\%good reasons\fP, but still you want to be able to send and receive SMS. .UNINDENT .SH REQUIREMENTS .sp \fBsms4you\fP is implemented as a \fI\%Python\fP daemon, using \fI\%Asynchronous I/O\fP\&. For the connection with the modem it uses \fI\%ModemManager\fP\&. The different gateways for email and xmpp have different depenedencies and are wrapped therefore into different sub\-projects: .SH INSTALLATION .INDENT 0.0 .IP \(bu 2 As an \fI\%email gateway\fP .IP \(bu 2 As a \fI\%xmpp gateway\fP .UNINDENT .SS Run sms4you as unprivileged user .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ sudo addgroup \-\-force\-badname \-\-system _sms4you $ sudo adduser \-\-force\-badname \-\-home /nonexistent \e \-\-ingroup _sms4you \-\-no\-create\-home \-\-system _sms4you $ sudo cp sms4you.conf /etc/dbus\-1/system.d/ $ sudo cp sms4you.pkla /var/lib/polkit\-1/localauthority/30\-site.d/ $ sudo chown root:_sms4you /etc/sms4you/{sim_pin,xmpp_component_password} $ sudo chmod 640 /etc/sms4you/{sim_pin,xmpp_component_password} .ft P .fi .UNINDENT .UNINDENT .SH COPYRIGHT AND COPYLEFT .sp Copyright (C) 2019\-2020 .INDENT 0.0 .IP \(bu 2 Felix Delattre \fI\%felix@delattre.de\fP .IP \(bu 2 Martin \fI\%debacle@debian.org\fP .UNINDENT .sp This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .sp This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. .sp You should have received a copy of the GNU Affero General Public License along with this program. If not, see \fI\%http://www.gnu.org/licenses/\fP\&. .sp Also add information on how to contact you by electronic and paper mail. .sp If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a \(dqSource\(dq link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. .sp See the \fI\%LICENSE\fP for the full license text. .\" Generated by docutils manpage writer. .