LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 11-15-2013, 04:55 AM   #31
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled

If you want to send an email using a smart host, I hope you understand that even the Smart Host should be running some SMTP server software like Sendmail or Postfix to relay it on internet. Even if your sendmail is relaying the mail to smart host properly and smart host is not configured properly to relay mails from outside or is not installed with some smtp server software, you will never receive any emails. I hope you have rebuild sendmail.cf using m4 macro and the correct sendmail.mc. If that is not working just add
Code:
DS[<RELAY_SVR_IP>]
to sendmail.cf.
You should have logs probably in /var/log/maillog file.
 
Old 11-15-2013, 05:07 AM   #32
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi all,

Thnx for your support.
It has been resolve with your support. i was making very silly mistake. i was entering ip address but i forgot to include it in reverse lookup zone in dns server. that's why it was not able to resolve the host name. when i entered FQDN. it's done thnx for your support guys..

but one more support i want from you that i made the changes into sendmail.mc and ran "#m4 sendmail.mc > /etc/mail/sendmail.cf"
then i restarted sendmail service but it still i could not see my mail relay in sendmail.cf then i manually edited sendmail.cf and restarted the service. then it started working fine..

am i making mistake while rebuilding sendmail.cf through sendmail.mc? if not then why i am not getting mail relay in sendmail.cf in DS.
 
Old 11-15-2013, 05:54 AM   #33
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
well, # is a comment initialiser

so if you litrally did #m4 ...
it did nothing.
 
Old 11-15-2013, 07:05 AM   #34
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
well, # is a comment initialiser

so if you litrally did #m4 ...
it did nothing.
No i did not do like this . i did like
m4 sendmail.mc > /etc/mail/sendmail.cf
 
  


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
Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found eliassal Linux - Server 15 11-04-2010 01:09 AM
Sendmail Configuration Linuxadmn Linux - Newbie 1 11-26-2007 09:14 PM
Sendmail configuration JailBreak Linux - Networking 2 09-05-2007 08:48 AM
Sendmail Configuration arshad Red Hat 3 12-14-2003 12:11 AM
Sendmail Configuration TheDude074 Linux - General 1 08-07-2003 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

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