Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 09-19-2012, 09:33 AM   #1
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 Then i decided to make use of 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 and convert it to 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 etc.
Thanks in advance.

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

Rep: Reputation: 42
what is relayhost set to


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:22 PM.

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