Hi all. I apologize in advance for the length of this post, and yes, I realize this is an impossibly simple task I’m asking for help with, but I have tried, honest I have.
I am dealing with my first Linux pc and learning has been a slow and sometimes painful experience, but I have managed to set up a “headless” file server using SuSe 11.1, and successfully set up a RAID 1 array to store all the data for two Vista clients that are also on the network. File sharing works great and I’m happy with that…BUT.
All I want is some method for the Linux server to notify my Vista machine if one of the disks in the RAID dies. It seems like it should be incredibly simple to set up using mdadm, and in fact, I have managed to set up mdadm to automatically send email test messages to a local account. What I can’t get working is the process of sending email to my “regular” email account, email@example.com.
I know there is a ton of stuff on how to accomplish this out on the 'net. I’ve read so many “how-to’s” and tutorials on configuring Postfix that I’ve literally lost count days ago. Some of them were really good, some weren’t so good but all were helpful to some degree. But I can’t seem to send any type of email from the linux machine. I’ve tried so many hints and tips that I very well may have confuzzled the whole system where nothing will work even if I do it right at this point, but if so I don’t mind (as a last resort) wiping the disk and reinstalling Linux from scratch. I’ve used a .forward file to forward root’s email to my bellsouth address. I’ve used MAILADDR in the mdadm.conf file to point to the bellsouth address. Neither method works for me though.
Here’s what’s happening at this point. Test emails sent from the Linux system to “firstname.lastname@example.org” do not get delivered. BUT, I do get a bounce notification that IS delivered to the bellsouth.net account, which tells me that “bellsouth.net requires valid sender domain (in reply to RCPT TO command)”.
I have never messed with setting up a mail server of any type before this. And until 3 weeks ago had never messed with Linux at all. So I expect many of you are either shaking your heads in dismay or laughing your tails off at my ignorance, but I’m desperate :).
What is the simplest way to send notification to a client machine that there is a problem with the RAID array on the server? Is it email or is it something else? If it would be easier, I don’t mind setting Outlook on my Vista machine to go fetch email from the server, but I haven’t been able to configure it to do so, at least not yet.
Most importantly, can someone please point me to the “best” how-to for a total beginner to set up whatever system is recommended?
Sorry…I know this is long but I’m hoping someone will take pity on me. My head has been hurting for four days now from banging it against this particular brick wall and I am about ready to give it up. Except I’m too neurotic to admit defeat and this will bug me forever until I get it working.