Sunday, October 9, 2016

[JustANote] Makes your emails trusted again (From your local custom server)


When you send email from your server, your email can be recognised by client name as un-secure/un-trustable if you use a third party provided domain name.
This is pretty normal, as any body can send email with the form they likes and it will be delivered.
For exemple I can send email in the form "sheda@ubuntu.com", but most email Client while detect this email as suspicious due to the fact my IP sending the email may not have the right on the domain "ubuntu.com".
To evaluate emails rights, Client will ask the domain name owner if IP sending the email is allowed to use this email name, this information is contained in TXT records of a DNS as SPF value.

Thursday, May 26, 2016

[JustANote] Keep your linux at the right time with ntpd


To keep your Linux up to date with your local time, you should use ntpd(Network Time Protocol deamon):

1- first specify your timezone to your system(dig /usr/share/zoneinfo to find your own):
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime 

2 - Install Network Time Protocol daemon:
apt-get install ntp 

3 - Sync time(Give it a public time server):
sudo service ntp stop
sudo ntpdate -s 0.fr.pool.ntp.org
sudo service ntp start

That's it.

Sheda