detecting what does a reboot

2014-06-08 Thread ik
Hello I have a server (old centos 5) that does sometimes few times a reboot, in random hours. I removed non root permissions to execute halt, reboot and shutdown, but I wish also to try and track down what causing that reboot. Is there a way to audit-trail or just log any kind of rebooting reques

self mail hosting

2014-06-08 Thread Efraim Flashner
I've registered a domain and set up my raspberry pi to recieve and send emails. Everything seems to be working fine, except that emails that I send to gmail get rejected by google. I've been told that google rejects email where the reverse-dns doesn't match the dns record, and because I don't hav

Re: self mail hosting

2014-06-08 Thread geoffrey mendelson
On 6/8/2014 12:27 PM, Efraim Flashner wrote: I've registered a domain and set up my raspberry pi to recieve and send emails. Everything seems to be working fine, except that emails that I send to gmail get rejected by google. I've been told that google rejects email where the reverse-dns doesn'

Re: self mail hosting

2014-06-08 Thread Vitaly
You can get static IP for just about 15NIS/month, I have one from 012. Regards Vitaly On Sun, Jun 8, 2014 at 12:27 PM, Efraim Flashner wrote: > I've registered a domain and set up my raspberry pi to recieve and send > emails. Everything seems to be working fine, except that emails that I > sen

Re: detecting what does a reboot

2014-06-08 Thread Jonathan Ben Avraham
Hi Ido, If the reboot occurs as a result of a hardware fault, you might never see anything in the logs. AFAIK nothing in the Centos 5 configuration does a reboot on its own. - yba On Sun, 8 Jun 2014, ik wrote: Date: Sun, 8 Jun 2014 12:11:15 +0300 From: ik To: linux-il Subject: detecting

Re: detecting what does a reboot

2014-06-08 Thread Rabin Yasharzadehe
you can try with auditctl auditctl -w /tmp/1 -p wa -k write_or_access > *--Rabin* On Sun, Jun 8, 2014 at 12:11 PM, ik wrote: > Hello > > I have a server (old centos 5) that does sometimes few times a reboot, in > random hours. > I removed non root permissions to execute halt, reboot and shut

Re: self mail hosting

2014-06-08 Thread Moish
I'm using static ip from Netvision. 40+nis inc vat for 10mb/0.8 mb. What kind of storage do you use (usb disk, mem card..)?  How does RP perform? On 08/06/2014 12:27, Efraim Flashner wrote: I've registered a domain and set up my raspberry pi to reci

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
If you use your ISPs' smart host you should also be OK... 2014-06-08 12:45 GMT+03:00 Vitaly : > You can get static IP for just about 15NIS/month, I have one from 012. > Regards > Vitaly > > > On Sun, Jun 8, 2014 at 12:27 PM, Efraim Flashner < > efraim.flash...@gmail.com> wrote: > >> I've registe

Re: self mail hosting

2014-06-08 Thread matanya
I got Static ip from netvision for 9NIS/Month before I left them. Just say you have camera's and file servers. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
Do those static IPs include setting the PTR record to whatever you want it to be? Otherwise there is really no point since a part (though not all) of the security is "is the PTR and the claimed hostname.domain.tld the same?" Since the IP is theirs you have no control over the PTR unless they give t

Re: self mail hosting

2014-06-08 Thread matanya
You should be able to set that in your domain dns panel from your provider. It should point to your Static IP On 2014-06-08 13:55, E.S. Rosenberg wrote: > Do those static IPs include setting the PTR record to whatever you want it to > be? Otherwise there is really no point since a part (tho

Re: self mail hosting

2014-06-08 Thread Efraim Flashner
using netvision's smart host shouldn't change my from or reply-to something@netvision? On Sun, 8 Jun 2014 13:31:24 +0300 "E.S. Rosenberg" wrote: > If you use your ISPs' smart host you should also be OK... > > > 2014-06-08 12:45 GMT+03:00 Vitaly : > > > You can get static IP for just about 15

Re: self mail hosting

2014-06-08 Thread Efraim Flashner
I have a 256MB modelB with an 8GB SD card and an external harddrive. Postfix and dovecote don't take a lot of processing power, spamassassin a bit more, but not so much. I also have it running deluge, which crashes a little too often for me, so I have a cron job running to relaunch it if it crashe

Re: self mail hosting

2014-06-08 Thread Gabor Szabo
Instead of getting a static IP and doing this at home, have you considered renting a VPS? For example at Digital Ocean you can get one for $5/month which is not much more than the 15 NIS / month that was mentioned here for static IP and it is very easy to handle. Such server can do way more than j

Re: self mail hosting

2014-06-08 Thread Efraim Flashner
On Sun, 8 Jun 2014 14:39:19 +0300 Gabor Szabo wrote: > Instead of getting a static IP and doing this at home, have you > considered renting a VPS? > For example at Digital Ocean you can get one for $5/month which is > not much more than > the 15 NIS / month that was mentioned here for static IP a

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
Re:All 2014-06-08 13:59 GMT+03:00 matanya : > You should be able to set that in your domain dns panel from your > provider. It should point to your Static IP > You can't set a PTR record for an IP that is in a block you don't own, PTR records are unique, only one per IP is supposed to exists, s

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
2014-06-08 14:22 GMT+03:00 Efraim Flashner : > using netvision's smart host shouldn't change my from or reply-to > something@netvision? > No, as long as you are an authenticated user it should pass whetever mail you want, it may or may not be flagged as 100% trustworthy since it won't be your "off

Re: self mail hosting

2014-06-08 Thread Efraim Flashner
On Sun, 8 Jun 2014 17:47:18 +0300 "E.S. Rosenberg" wrote: > 2014-06-08 14:22 GMT+03:00 Efraim Flashner > : > > > using netvision's smart host shouldn't change my from or reply-to > > something@netvision? > > > No, as long as you are an authenticated user it should pass whetever > mail you want,

Re: self mail hosting

2014-06-08 Thread Baruch Siach
Hi Eliyahu, Matanya, On Sun, Jun 08, 2014 at 05:38:12PM +0300, E.S. Rosenberg wrote: > Also note that though you can get a fixed IP at home the IP may still be > flagged in anti-spam databases as "non-server" space and therefor > suspicious/no-accept. These are called RBLs or DNSBLs (http://en.wi

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
2014-06-08 17:58 GMT+03:00 Efraim Flashner : > On Sun, 8 Jun 2014 17:47:18 +0300 > "E.S. Rosenberg" wrote: > > > 2014-06-08 14:22 GMT+03:00 Efraim Flashner > > : > > > > > using netvision's smart host shouldn't change my from or reply-to > > > something@netvision? > > > > > No, as long as you are

Re: self mail hosting

2014-06-08 Thread Geoff Shang
Hi, We use a VPS for this. This is much easier than trying to do it on an ISP-hosted IP address/setup and is likely to remain so. It is worth checking that the IP address you get for a VPS isn't on any DNSBLs before you set it up. Geoff. ___ Li

Re: self mail hosting

2014-06-08 Thread Baruch Siach
Hi Efraim, On Sun, Jun 08, 2014 at 05:58:50PM +0300, Efraim Flashner wrote: > On Sun, 8 Jun 2014 17:47:18 +0300 > "E.S. Rosenberg" wrote: > > > 2014-06-08 14:22 GMT+03:00 Efraim Flashner > > : > > > > > using netvision's smart host shouldn't change my from or reply-to > > > something@netvision?

Re: self mail hosting

2014-06-08 Thread Shachar Shemesh
On 08/06/14 14:39, Gabor Szabo wrote: > Instead of getting a static IP and doing this at home, have you > considered renting a VPS? > For example at Digital Ocean you can get one for $5/month which is not > much more than > the 15 NIS / month that was mentioned here for static IP and it is > very e

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
Slightly OT, but if I went for a VPS for my mail I'd probably want them to be outside of US jurisdition, are these? 2014-06-08 19:00 GMT+03:00 Shachar Shemesh : > On 08/06/14 14:39, Gabor Szabo wrote: > > Instead of getting a static IP and doing this at home, have you considered > renting a VPS

Re: self mail hosting

2014-06-08 Thread Shachar Shemesh
On 08/06/14 19:11, E.S. Rosenberg wrote: > Slightly OT, but if I went for a VPS for my mail I'd probably want > them to be outside of US jurisdition, are these? > It is #%$*!@# difficult to answer whether anything is outside the US jurisdiction. I can tell you that these servers are hosted in Germa

Re: self mail hosting

2014-06-08 Thread Guy Gold
On Sun, Jun 8, 2014 at 5:27 AM, Efraim Flashner wrote: > > If anyone has any experience doing their own mail and want to share, > I'd love to hear about it. > > -Efraim > Efraim, Using a globally recognized smart host makes the most sense, technically and financially. If you do end up getting a

Re: self mail hosting

2014-06-08 Thread shimi
On Sun, Jun 8, 2014 at 7:42 PM, Guy Gold wrote: > > Using a globally recognized smart host makes the most sense, technically > and financially. > > And then, there's The Cloud (TM). http://aws.amazon.com/ses/ -- Shimi ___ Linux-il mailing list Linux-i

Re: self mail hosting

2014-06-08 Thread Efraim Flashner
On Sun, 8 Jun 2014 19:11:15 +0300 "E.S. Rosenberg" wrote: > Slightly OT, but if I went for a VPS for my mail I'd probably want > them to be outside of US jurisdition, are these? > DigitalOcean lists on the bottom of their page that they're "Proudly Made in NY" so I assume that their servers are

Re: self mail hosting

2014-06-08 Thread Geoff Shang
On Sun, 8 Jun 2014, E.S. Rosenberg wrote: Slightly OT, but if I went for a VPS for my mail I'd probably want them to be outside of US jurisdition, are these? US jurisdiction is something that is likely to change with the wind and also probably is yet to be fully tested in court. But certainl

Re: self mail hosting

2014-06-08 Thread Dotan Cohen
On Sun, Jun 8, 2014 at 8:40 PM, shimi wrote: > And then, there's The Cloud (TM). http://aws.amazon.com/ses/ > This is what I use. I think I pay something like $1 monthly. I'm very happy with AWS in general. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___

Re: self mail hosting

2014-06-08 Thread Gabor Szabo
On Sun, Jun 8, 2014 at 9:04 PM, Efraim Flashner wrote: > On Sun, 8 Jun 2014 19:11:15 +0300 > "E.S. Rosenberg" wrote: > > > Slightly OT, but if I went for a VPS for my mail I'd probably want > > them to be outside of US jurisdition, are these? > > > > DigitalOcean lists on the bottom of their pag

Re: self mail hosting

2014-06-08 Thread Shachar Shemesh
On 08/06/14 21:04, Efraim Flashner wrote: > The larger size sounds great, and with that much storage and ram > there's a lot more options for playing with. Even if its not based in > the US I'd still prefer to encrypt it, since I wouldn't have sole > physical access to it. Yeah, good luck with tha

Re: detecting what does a reboot

2014-06-08 Thread ik
Hi Jonathan, We ruled out that it happens from hardware, and at the messages log, you see a normal reboot, we just can't place the finger who or what does it. Thanks, Ido On Sun, Jun 8, 2014 at 1:04 PM, Jonathan Ben Avraham wrote: > Hi Ido, > If the reboot occurs as a result of a hardware fau

Re: detecting what does a reboot

2014-06-08 Thread Diego Iastrubni
And when everything else fails - good old serial console and another machine to capture the last dieing words of this server. On 06/08/2014 01:21 PM, Rabin Yasharzadehe wrote: you can try with auditctl auditctl -w /tmp/1 -p wa -k write_or_access *-- Rabin* On Sun, Jun 8, 2014 at 12:11

Re: detecting what does a reboot

2014-06-08 Thread Oron Peled
On Sunday 08 June 2014 22:43:49 ik wrote: > We ruled out that it happens from hardware, and at the messages log, you > see a normal reboot, we just can't place the finger who or what does it. It's easy to confirm/reject that's the "reboot" command itself: * Move original command to new name (e.g

Re: self mail hosting

2014-06-08 Thread E.S. Rosenberg
The physical location of a server is afaik irrelevant if you are dealing with a US company, an EU company which is subject to the more strict EU privacy laws would seem to be better in this case... 2014-06-08 22:23 GMT+03:00 Shachar Shemesh : > On 08/06/14 21:04, Efraim Flashner wrote: > > The

Re: self mail hosting

2014-06-08 Thread Amos Shapira
On 8 June 2014 21:38, Efraim Flashner wrote: > a bit more, but not so much. I also have it running deluge, which > crashes a little too often for me, so I have a cron job running to > relaunch it if it crashes. Fileserving works well. I tried using it Consider runit (http://smarden.org/runit