[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.
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.