mesms
A ncurses based SMS manager
Powered by gammu. It's a third party application that manage Gammu folder.
Installation
First of all, you should have a working gammu setup. Here is my Gammu setup:
/etc/gammurc:
[gammu]
port = /dev/ttyUSB0
connection = at
/etc/gammurc:
[gammu]
port = /dev/ttyUSB0
connection = at
/etc/gammu-smsdrc:
[gammu]
port = /dev/ttyUSB0
connection = at
synchronizetime = yes
logfile = /var/spool/sms/log
logformat = textalldate
[smsd]
Service = files
RetryTimeout=60
MaxRetries=2
OutboxPath = /directory/youwant/to/sms/outbox/
InboxPath = /directory/youwant/to/sms/inbox/
SentSMSPath = /directory/youwant/to/sms/sent/
ErrorSMSPath = /directory/youwant/to/sms/error/
InboxFormat=detail
OutboxFormat=detail
Note that you must use the format detail
and service file
**.
Now, you can test the setup using gammu-smsd-inject
$ gammu-smsd-inject TEXT +33NUMBER -text "This is a test !"
A file should be created in the outbox directory. Soon it will be send and the file will be moved to the Sent directory.
If so, congratulation ! You have a working gammu setup. Lets now install mesms to manage your SMS directory.
Install mesms
Quite easy. It's a C software, you need gcc, make and git.
$ git clone https://git.ache.one/mesms
$ cd mesms
$ make
$ sudo make install
Note: Theire is a AUR package. yay -S mesms-git
should work too on Arch Linux.
Now, you have to make a config directory. It should be ~/.mesmsrc
.
~/.mesmsrc:
SMS_INBOX=/????/sms/inbox/
SMS_SENTBOX=/????/sms/sent/
SMS_OUTBOX=/????/sms/outbox/
MMS_DIR=/tmp
CONTACT_FILENAME=/home/user/.contacts.csv
Now you can execute mesms !
Enjoy !