Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Currently i'm figuring out how to send email notifications to users when services went down in Nagios. I know i need to install and configure Postfix, which i did already. I assume that when i configured to point it to "Satellite mail system" is the correct one instead of other things like "Internet.." etc. So the configurations is when you have installed the Postfix and there would pop a lot of questions right? Other than that, what have i missed?
Oh ya, i remember something. Hmm. I do not have any so-called real smtp server so would that be alright? I heard that installed and getting the Postfix running would be enough as it serves as a MTA (mail transfer agent). So if i do not have any smtp server, the relay host= ' ' what should i put it as?
Well, I don't know postfix in particular as I am using exim, but
- *@hotmail.com definitely is not the same machine, there are some microsoft servers responsible for that domain.
- they will probably reject mail coming directly from a host on a dialup line (common anti-spam measure).
So, if you need this mail in a hotmail account, you probably HAVE to configure a "smarthost": The smtp-server your provider is giving to you. Configure postfix to send all outgoing mail through THAT host, then it should work. But if delivering the mail to the same machine would be ok, it's probably easier to set some sensible hostname and address it locally, optionally installing some imap-server like dovecot to access this local mail with thunderbird and the like.
If you want to use some email address that is NOT hosted on your box, you have to configure your provider's smtp server as "smarthost" -- because any other smtp server (including those of microsoft [hotmail] and google [gmail]) will reject your mails as they are coming from a dialup line. So if you absolutely MUST have these emails in an "external" mailbox, google for how to set up "smarthost"¹ in postfix and find out the name of the SMTP server your ISP offers you.
¹ probably the "relay" you refer to in your first post.