
[images/mobile.gif] [images/smslink.gif]

-------------------------------------------------------------------------------


General                 SMSLink SMS to Mail Gateway Installation Procedure
Introduction
Platforms
Supported_Hardware      1./ Configure your domain name.
Package_Content
                        The DNS domain your machine was to be made part of was
                        probably configured when you first installed it. If so,
Installation            it will be defined for instance in your /etc/
Download                resolv.conf. But in order for the application to be
Server_Install          able to pick it up through getdomainname(2), it needs
Client_Install          to be first set through a call to domainname(1). Not
Gateway_Install         all Linux distros set that up by default.
                        Under Suse, you can set the YP_DOMAINNAME variable in /
                        etc/rc.config. Under SlackWare, I put my domain in /
Tech Info               etc/DOMAINNAME and modified /etc/rc.M to include the
Changelog               following line:
FAQ                     /bin/domainname `cat /etc/DOMAINNAME`
Drivers
Related_Links           2./ Make sure mail delivery is working.

                        By default, sms2mailgw(1) will try to deliver mail by
[Jump_to_Vim_Home_Page] contacting sendmail (or another MTA) on the localhost
                        (that target can be overridden by editing sms_serv.h in
                        smslink/server and modifying the MAILHOST define).
                        This means that you should make sure sendmail (or
                        other) is properly configured on your machine and able
                        to deliver outbound mail. Ability to deliver inbound
                        mail should be checked as well for future extensions
                        and failure reports.

                        3./ Untar and compile SMSLink.

                        If not done yet, untar this distribution package (for
                        instance under /usr/src), change directory to smslink/
                        server, modify the first part of the Makefile to
                        accomodate your platform, then type make. A few
                        warnings might be issued during the compile phase, but
                        those can be safely ignored.
                        When compiled successfully, type make install as root.
                        Note that this will install both sms_serv(1) and
                        sms2mailgw(1) (as well as all related man pages). You
                        can choose to compile only the gateway module by typing
                        make sms2mailgw, but there is no separate install
                        instructions.

                        4./ Arrange for the service to be started at boot time.

                        Edit your init scripts to have the service started at
                        boot time. Normally, it requires root capabilities to
                        successfully start the service, as only root can access
                        the GSM device by default. This is not a problem since
                        it will most likely be started by init.
                        Should you wish to have the gateway started by another
                        user, make sure the access rights on the inbox file are
                        set accordingly.

                        5./ Test your installation.

                        Now that the gateway is installed, configured and
                        started, time to test it. From a GSM, send an SMS to
                        your server where the message obeys to the following
                        format (see sms2mailgw(1) for more details):
                        t:somebody@somedomain This is a test.
                        Please note: the email address given above should be
                        adapted to your needs.
                        Then wait for up to 1 hour for the inbox to be
                        processed (the interval value can be reduced or
                        enlarged by modifying the MBCHKINTERVAL define in
                        server/sms_serv.h), and go check your mailbox.
                        That's all, Folks...

-------------------------------------------------------------------------------

Last Modified: December 30th, 2000. [SourceForge_Logo]
     philipa@tiscalinet.be

