LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-19-2012, 09:33 AM   #1
hudai
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Question Sendmail Configuration for gmail smtp service


Dear All,
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.
Hudai

Last edited by hudai; 09-19-2012 at 10:17 AM.
 
Old 09-26-2012, 08:23 AM   #2
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
what is relayhost set to
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure sendmail to use Gmail as SMTP server? narke Slackware 23 03-10-2014 02:02 PM
How to send gmail through IP authenticated sendmail SMTP? rsund Linux - Server 2 01-06-2012 08:25 AM
[SOLVED] Sendmail to use Gmail's SMTP to send mail lpallard Linux - Software 12 05-01-2011 01:05 PM
Configuration files for : MUTT + GMAIL + MSMTP + IMAP + FETCHMAIL + SENDMAIL ? frenchn00b Linux - Software 1 06-03-2010 03:43 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration