In this post I will describe how to make a simple Email to SMS Gateway, using Portech MV37x and PHP code running on a Linux server.
Operation is simple: the code will poll the configured imap a folder, and if detect a new email it will send a Short Message Service (SMS) using the Portech hardware device. The recipient’s mobile number must be specified in the email subject (the subject must be a number or the email will be ignored) and the text will be the body in the email itself (truncated to 140 chars).
This post is just focused on building a vpn IPSec connection site-to-site between IpCop and PFSense.
Att: PfSense and IpCop boxes are using a public ip address on WAN side.
– Go under VPN menu, option IPSec, and check Enable IPSec check box, and hit Save button. Then click the Add tunnel icon on the right side of the page, now you’ve a new page where you can specify VPN tunnel options.
– Mandatory Parameters
Key Exchange Version: V1
Internet Protocol: IpV4
Remote Gateway: The public ip address of IpCop box Continue reading
Using Sendmail usually when you need to “recompile” the config file you have to launch the next command.
make -C /etc/mail/
In Debian you can get the next error.
make: Entering directory '/etc/mail'
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Could not open /usr/share/sendmail-cf/m4/cf.m4(No such file or directory)
Real little but useful tip for CentOs 6.7
Error: Package: systemtap-devel-2.7-2.el6.x86_64 (base)
How to solve ??
Your system is probably configured to exclude the kernel packages. In /etc/yum.repos.d check all files and comment out all the lines that start with exclude=