[SOLVED] Sendmail Configuration for gmail smtp service
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
I have an NMS system working on RHEL 5.7 (Tikanga)
One of the features that the NMS provides is to send e-mail to the relevant maintenance person in case of a major alarm.
On RHEL sendmail is working.
Since the NMS system is in the intranet zone, i first attempted to configure acc. MS Exchange server settings. After some time, i found out that the intranet zone is also open to internet but with limited access to some sites like gmail.com. Then i decided to make use of smtp.gmail.com to transport alarm e-mail messages to the e-mail address of maintenance person.
In fact, this server will not serve any other corporate user with MUA. It will just receive e-mail message from the NMS system which is running on the same RHEL machine and transfer it to the smtp service of gmail. For example, there is no need to configure POP3 on RHEL since the maintenance personnel will not send a reply back to the RHEL. No one else will use this mail server for corporate purposes. At the end of the day, i need to configure sendmail so as to have it send alarm e-mails generated by the NMS to a certain e-mail address in the world in a unidirectional fashion.
I got a gmail account, inserted the credentials in authinfo, i made some modifications on sendmail.mc and convert it to sendmail.cf via m4 utility, i restarted sendmail accordingly...But i failed to send e-mail messages.
I tried to fix this issue by following the solutions published in the internet, but i could not manage to solve my problem. This lasted 2 days and i understood that i need your help.
Is it possible to guide me through step by step? or i'd appreciate if the ones who have a similiar experience on this kind of simple application could share some basic files such as sendmail.mc etc.
Thanks in advance.